From c8e4f3e98a31dc9018079ed943c2ef109b3a742c Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Tue, 20 Jun 2023 23:37:20 +0200 Subject: [PATCH] fixup! refactor(core): unify touch and button handling, enable usage of both in one model --- core/embed/extmod/modtrezorio/modtrezorio-poll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/embed/extmod/modtrezorio/modtrezorio-poll.h b/core/embed/extmod/modtrezorio/modtrezorio-poll.h index 0753dcf65..3d6347554 100644 --- a/core/embed/extmod/modtrezorio/modtrezorio-poll.h +++ b/core/embed/extmod/modtrezorio/modtrezorio-poll.h @@ -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)