I took a WaveShare RP2040-Touch-LCD-1.28and made a program to use it as a touchscreen. This is still very much in the beta phase but the proof of concept works. Here’s my GitHub repo for it.

I’m planning on integrating it into my next split near the thumb cluster.

  • LazaroFilm@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Thanks! Updates so far are:

    • turns out there is no multitouch, so no two finger right click or two finger scroll. I’ll need to work something else out. Likely will have to be. Key plus scroll or something…
    • there are only 6 pins exposed and none are I2C but you can use BitBang_I2C library to expose them then use an I2C expander board to use it in a full keyboard.
    • RaffOwO@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Just to give some extra inspiration,

      The multitouch gestire would be kinda unusable, but for scrolling I suggest to steal the same gestire from the japanese Toshiba laptops. They have a circular trackpad and for scrolling use the Edge of the trackpad with clockwise and counter-clockwise movement.

      I know that I made It sound confusing, but if you see a video of that in action Will be Easy af to understand!

      • LazaroFilm@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        And it’s implemented and pushed to GitHub. Scrolling is a bit jerky right now but it works!

      • LazaroFilm@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Actually that makes perfect sense and I live the idea! All it has to do is check where your initial touch was. If I’m ce center, then trackpads off on the edges of the circle then scroll. I may even be able to use LVGL to make that even better in the future. Thanks for the tip. And for right click I am planning on a hold, and tap+hold for drag.

    • naznsan@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Regarding the scrolling, do you reckon it’ll be possible to implement it like how the Galaxy Watches do their scrolling?

      If you touch the edge of the screen and rotate it, it scrolls clockwise and anti-clockwise. Works decently enough although I do prefer the physical wheel.

      • LazaroFilm@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I just updated the GitHub repo. It now has circular scrolling. Still. But buggy but it’s progressing!!!