🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    PaperS3 anyone got the touchscreen to be more sensitive?

    Scheduled Pinned Locked Moved PRODUCTS
    1 Posts 1 Posters 368 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      windoze007
      last edited by

      So it looks like the GT911 can have configurable sensitivity either by adjusting the sensitivity threshold or adjusting the gain.

      I tried both, however they mainly seem to make it not work

      I edited Touch_GT911.cpp:

      constexpr uint16_t REG_CONFIG_START = 0x8047;
      constexpr size_t CONFIG_LEN = 0x80FF - REG_CONFIG_START;
      constexpr size_t TOUCH_SENS_OFF = 0x8053 - REG_CONFIG_START;
      constexpr size_t RELEASE_SENS_OFF = 0x8054 - REG_CONFIG_START;
      constexpr size_t DAC_GAIN_OFF = 0x806B - REG_CONFIG_START;
      constexpr size_t PGA_GAIN_OFF = 0x806C - REG_CONFIG_START;
      
      std::array<uint8_t, 2 + CONFIG_LEN + 2> datas;
      
      // get config
      datas[0] = 0x80;
      datas[1] = 0x47;
      _writeReadBytes(datas.data(), 2, datas.data() + 2, CONFIG_LEN);
      
      // try to change settings - none of these seem to work
      datas[2 + TOUCH_SENS_OFF] -= 5;
      datas[2 + RELEASE_SENS_OFF] -= 5;
      datas[2 + DAC_GAIN_OFF] = 0x00;
      
      // put config
      datas[2 + CONFIG_LEN] = 1 + (~std::accumulate(datas.begin() + 2, datas.end() - 2, 0));
      datas[2 + CONFIG_LEN + 1] = 0x01;
      _writeBytes(datas.data(), datas.size());
      
      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post