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

    Touch Buttons and Styluses

    Core 2
    2
    3
    6.0k
    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.
    • vkichlineV
      vkichline
      last edited by

      Rop's latest sample (M5Sound, in this forum) make me wonder what a reasonable, minimum size and spacing should be for TouchButtons. At almost 80 X 60 pixels, the DTMF buttons are usable, but already require some care with only 12 on the screen.
      I dug up an old passive capacitive stylus (the kind that looks like a soft pencil eraser) and found it increases speed and accuracy. Maybe a 50 X 50 pixel button would be usable with the passive stylus (doubling the number of buttons available.)
      I see that there are active capacitive styluses available with much smaller tips. Does anyone have one? Does it work well with the Core2?

      1 Reply Last reply Reply Quote 1
      • vkichlineV
        vkichline
        last edited by

        I wrote a program to see what a reasonable minimum size touch button is: https://github.com/vkichline/ButtonSizeTest
        It's a test you play: it lets you choose what size button and what spacing; it makes a bunch of buttons and asks you to press eight of them. At some point you should stop getting perfect scores.
        I'd be interested in hearing what people find a usable minimum to be.

        Caution: to use this app, you need RopG's PR for M5Core2. You can download the touch button version of the lib here: https://github.com/ropg/M5Core2.

        1 Reply Last reply Reply Quote 1
        • felmueF
          felmue
          last edited by

          Hi Van

          thank you for the test application. I've added my test (using a finger) in the issues section. I think I have a stylus somewhere and when I find it I'll give it another go.

          Cheers
          Felix

          GPIO translation table M5Stack / M5Core2
          Information about various M5Stack products.
          Code examples

          1 Reply Last reply Reply Quote 1
          • First post
            Last post