micropython-ili9341 icon indicating copy to clipboard operation
micropython-ili9341 copied to clipboard

Add raw_touch() feature to also return pressure and timing data

Open gitcnd opened this issue 1 year ago • 1 comments

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...

gitcnd avatar Aug 02 '24 03:08 gitcnd

Thanks for the effort you've put into enhancing the functionality! Your work could significantly benefit users. However, I don’t normally accept pull requests unless they are bug fixes or minor non-breaking updates.

I believe that maintaining your changes in a separate branch would be the most appropriate. Given my current time constraints, having a dedicated branch for this specific implementation will help ensure that the core project remains easily maintainable while still offering this advanced option for users who need it.

I’d be happy to add a link to your project from my repo to direct users to your work.

rdagger avatar Aug 03 '24 05:08 rdagger