Input: Focaltech ft5336 sends events when no touches present. #69997
-
The FT5336 has a register Currently the code checks if zero or one touches are present, then reads 4 bytes of coordinate and status information. If there are no touches all four coordinate bytes are zero. The problem is a touch event of 0b00 is considered 'pressed', so when there are no touches, the driver thinks someone is continuously pressing on the screen at coordinates (0,0) I believe one solution is to change line 106 of From:
To:
I've tested this using the Adafruit 2.8" touchscreen (https://www.adafruit.com/product/1947) and it appears to work. A better solution would be to refactor the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Fixed by #69998 |
Beta Was this translation helpful? Give feedback.
Fixed by #69998