Skip to content

Commit

Permalink
[ADAPTER] Fix MD/Genesis mode button mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Apr 19, 2024
1 parent 9654a62 commit baf247f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/adapter/wired/genesis.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static DRAM_ATTR const uint32_t genesis_btns_mask[2][3][32] = {
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, BIT(P1_Y),
BIT(P1_MODE), 0, 0, 0,
0, BIT(P1_MODE), 0, 0,
BIT(P1_X), BIT(P1_X), 0, 0,
BIT(P1_Z), BIT(P1_Z), 0, 0,
},
Expand Down Expand Up @@ -191,7 +191,7 @@ static DRAM_ATTR const uint32_t genesis_btns_mask[2][3][32] = {
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, BIT(P2_Y),
BIT(P2_MODE), 0, 0, 0,
0, BIT(P2_MODE), 0, 0,
BIT(P2_X), BIT(P2_X), 0, 0,
BIT(P2_Z), BIT(P2_Z), 0, 0,
},
Expand Down

0 comments on commit baf247f

Please sign in to comment.