Skip to content

Commit 9c20f9b

Browse files
CaTeIMjgriffiths
authored andcommitted
Fix: Swap A/B buttons logic for TTGO T-Display & T-Display S3
1 parent bd5a3ed commit 9c20f9b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

main/Kconfig.projbuild

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,16 @@ menu "Blockstream Jade"
241241
default 37 if BOARD_TYPE_JADE_V1_1
242242
default 38 if BOARD_TYPE_JADE_V2
243243
default 39 if BOARD_TYPE_M5_FIRE || BOARD_TYPE_M5_BLACK_GRAY || BOARD_TYPE_M5_STICKC_PLUS || BOARD_TYPE_M5_STICKC_PLUS_2
244-
default 0 if BOARD_TYPE_TTGO_TDISPLAY || BOARD_TYPE_TTGO_TDISPLAYS3
244+
default 35 if BOARD_TYPE_TTGO_TDISPLAY
245+
default 14 if BOARD_TYPE_TTGO_TDISPLAYS3
245246
default 12 if BOARD_TYPE_TTGO_TDISPLAYS3PROCAMERA
246247
default -1
247248
config INPUT_BTN_B
248249
int "BTN B"
249250
default 39 if BOARD_TYPE_JADE_V1_1 || BOARD_TYPE_JADE_V2
250251
default 37 if BOARD_TYPE_M5_FIRE || BOARD_TYPE_M5_BLACK_GRAY || BOARD_TYPE_M5_STICKC_PLUS
251-
default 35 if BOARD_TYPE_TTGO_TDISPLAY || BOARD_TYPE_M5_STICKC_PLUS_2
252-
default 14 if BOARD_TYPE_TTGO_TDISPLAYS3
252+
default 35 if BOARD_TYPE_M5_STICKC_PLUS_2
253+
default 0 if BOARD_TYPE_TTGO_TDISPLAY || BOARD_TYPE_TTGO_TDISPLAYS3
253254
default 16 if BOARD_TYPE_TTGO_TDISPLAYS3PROCAMERA
254255
default -1
255256
config INPUT_WHEEL_SW

0 commit comments

Comments
 (0)