1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

fixup! refactor(core): unify touch and button handling, enable usage of both in one model

This commit is contained in:
tychovrahe 2023-06-20 23:37:20 +02:00
parent e677e62623
commit 5d58ed90fc

View File

@ -26,8 +26,8 @@
#define USB_DATA_IFACE (253)
#define INPUT_IFACE (255)
#define TOUCH_INPUT_FLAG (0x40000000)
#define BUTTON_INPUT_FLAG (0x80000000)
#define TOUCH_INPUT_FLAG (0x400000)
#define BUTTON_INPUT_FLAG (0x800000)
#define POLL_READ (0x0000)
#define POLL_WRITE (0x0100)