Skip to content

Commit

Permalink
fixup! refactor(core): unify touch and button handling, enable usage …
Browse files Browse the repository at this point in the history
…of both in one model
  • Loading branch information
TychoVrahe committed Jun 20, 2023
1 parent 1035c24 commit b0b7817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/embed/extmod/modtrezorio/modtrezorio-poll.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b0b7817

Please sign in to comment.