commit | 2f691ad8deb7f36ef5e07b9a866166b8b9f42832 | [log] [tgz] |
---|---|---|
author | Glenn Andrews <glenn.andrews.42@gmail.com> | Sat Mar 09 11:42:00 2024 -0800 |
committer | David Leach <david.leach@nxp.com> | Wed Mar 13 11:39:19 2024 -0500 |
tree | 9eda84fd75ea4167bd8ef19ee61df6b8f9248b00 | |
parent | 8a38ff7161051eb1c610995f2b03ee64f4eaba4f [diff] |
Driver Input: FT5336 reports touch pressed on no touches See https://github.com/zephyrproject-rtos/zephyr/discussions/69997 The driver thinks that when there are zero touches, the screen is pressed. This changes it so zero touches mean the screen is not pressed. Also, multi-touch is now considered a single touch, and the TOUCH_ID is checked so that only valid touches are registered. Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>