Skip to content

Commit

Permalink
input: Add absolute input code for multitouch slot
Browse files Browse the repository at this point in the history
To support multitouch, input devices can report an absolute value
to identify the specific slot to which the subsequent data is linked.
Add a new code for `INPUT_ABS_MT_SLOT` for this purpose.

Signed-off-by: Peter Johanson <[email protected]>
  • Loading branch information
petejohanson committed Mar 23, 2024
1 parent 4d0f975 commit 8f87b3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/zephyr/dt-bindings/input/input-event-codes.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
*/
#define INPUT_ABS_BRAKE 0x0a /**< Absolute brake position */
#define INPUT_ABS_GAS 0x09 /**< Absolute gas position */
#define INPUT_ABS_MT_SLOT 0x2f /**< Absolute multitouch slot identifier */
#define INPUT_ABS_RUDDER 0x07 /**< Absolute rudder position */
#define INPUT_ABS_RX 0x03 /**< Absolute rotation around X axis */
#define INPUT_ABS_RY 0x04 /**< Absolute rotation around Y axis */
Expand Down

0 comments on commit 8f87b3b

Please sign in to comment.