-
Notifications
You must be signed in to change notification settings - Fork 7.5k
boards: arduino: Giga Display Shield, touch points #91980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Currently the config option: CONFIG_INPUT_GT911_MAX_TOUCH_POINTS is not defined for the Giga display shield and defaults to 1. The valid range is 1-5, I have done most of my own testing using 3 with the ArduinoGiga-zephyr I have a PR against the ArduinoCore-zephyr project which allows me to define a callback in the Arduino system: arduino/ArduinoCore-zephyr#134 And a version of the Arduino touch library with some support, the fork/branch https://github.com/KurtE/Arduino_GigaDisplayTouch/tree/zephyr And an example sketch that does touch paint. arduino/ArduinoCore-zephyr#92 (comment) Note: my version of the Arduino touch library has no support for gestures Signed-off-by: Kurt Eckhardt <[email protected]>
01e06c9
to
be05936
Compare
|
A couple of other things I should mention: I have not tested this with LVGL, as I don't use LVGL, and I am testing it using the Arduino Code base (ArduinoCore-zephyr), I started off testing some of this using extracts from the zephyr\samples\subsys\input\draw_touch_events
Does not process the callback which tells you which touh point the X, Y are associated with. My callback in the Arduino_GigaDisplayTouch - mentioned in the first post here, does process this. Note there are some |
Currently the config option:
CONFIG_INPUT_GT911_MAX_TOUCH_POINTS
is not defined for the Giga display shield and defaults
to 1. The valid range is 1-5, I have done most of my
own testing using 3 with the ArduinoGiga-zephyr
I have a PR against the ArduinoCore-zephyr project which allows me to define a callback in the Arduino system:
arduino/ArduinoCore-zephyr#134 And a version of the Arduino touch library with some support, the fork/branch
https://github.com/KurtE/Arduino_GigaDisplayTouch/tree/zephyr
And an example sketch that does touch paint.
arduino/ArduinoCore-zephyr#92 (comment)
Note: my version of the Arduino touch library has no support for gestures