Skip to content

Instantly share code, notes, and snippets.

@abrugsch
Created February 14, 2025 14:11
Show Gist options
  • Save abrugsch/7b0a0fd0c1e123d0df9217cf134b629d to your computer and use it in GitHub Desktop.
Save abrugsch/7b0a0fd0c1e123d0df9217cf134b629d to your computer and use it in GitHub Desktop.
myCade-hat batocera findings
myCade-hat batocera findings
up,dn,lt,rt - D-Pad directions
B1-6 Face buttons. usually assigned as North, South, East West, L Trigger, R Trigger
F1-3 Front panel buttons. usually Start, Select, [other]
in the MAP columns, the label is what batocera reports when configuring the controller.
MAP4 uses map=4 gpio=6,12,20,16,24,15,5,11,8,25,9,10,15
the * in the GPIO column indicates that I didn't check which exact face button corresponds
with which pin, but that group are all together just possibly in a different order.
physical button layout:
B1|B2|B3
B4|B5|B6
for reference with the MAP columns, they all refer to the same button.
i.e. real B1->MAP1 b6, MAP2 na, MAP4 na
Real | GPIO | MAP1 | MAP2 | MAP4
-----¦------¦------¦-------¦------
up | 12 | na | b3 | b8
dn | 06 | na |AXIS 0-| b6
lt | 20 | na | b1 | b5
rt | 16 | na | b5 | b4
B1 | 05* | b6 | na | na
B2 | 11* | na | b4 | na
B3 | 08* | b0 | na | na
B4 | 09* | na |AXIS 1-| na
B5 | 25* |KeybUP|AXIS +1| 07
B6 | 20* | b7 | na | na
F1 | 24 | b5 | na | na
F2 | 15 | na | na | b0
F3 | 16 | b1 | na | na
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment