MicroPython_CYD_ESP32-2432S028R
MicroPython_CYD_ESP32-2432S028R copied to clipboard
Add raw_touch() feature to also return pressure and timing data
Thanks a million for your awesome work.
I want to have "sliders", so I needed more than just "touch event detection", plus my board issues spurious events occasionally, so I've updated the touch-driver to return all the data needed to solve all my problems.
This update makes debounce and spurious-event-rejection possible, and allows polling for when we want to let users "drag things around" (in my case - it's a light-dimmer with an icon of a DJ slider control which they can move around).
This is also a test of whether or not PRs get merged. I'm planning a big update to the graphics code so we can use "rotate" properly (so you specify what rotation to use during init, and all graphics work on that orientation from then on). I'm not sure whether to contribute these new features (a lot of work), or to just do a local version for myself (so I can skip doing the ones I do not need - like polygons etc). No point doing lots of work if nobody wants it of course...
I'm also investigating how to add st7789 support, since these are the chips in the latest batch of CYD's flooding aliexpress