Commit 2222998f authored by Jarrod's avatar Jarrod 💬

32u pin

parent 40478056
Pipeline #6787 failed with stages
in 0 seconds
......@@ -19,8 +19,28 @@ Joystick_ Joystick(JOYSTICK_DEFAULT_REPORT_ID,JOYSTICK_TYPE_GAMEPAD,
false, false, // No rudder or throttle
false, false, false); // No accelerator, brake, or steering
// udlr, abxy, start/sel l/r . z
int buttons[] = {6,3,4,5, A3, A2, A1, A0, 15, 14, 16, 10, 7};
int buttons[] = {
// UDLR
6, // PD7
3, // PD0
4, // PD4
5, // PC6
// ABXY
A3, // PF4
A2, // PF5
A1, // PF6
A0, // PF7
// START SEL
15, // PB1
14, // PB3
// L R Z
16, // PB2
10, // PB6
7 // PE6
};
void setup() {
// Initialize Button Pins
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment