-
Joystick 1: x, y -> A2, A3
-
Joystick SW: D4
-
The rest of the pins (except for Rst, 3.3v, GND, Bat, En, USB, and 13)
-
are used as button inputs. Connect the pin to one side of the button and ground on the other.
-
A0: "A button"
-
A1: "X button"
-
board.D24:"Y button"
-
MOSI: Anything Button
-
MISO: Joystick Change button
-
RX: Layout_Change button
-
TX,
-
D4,
-
D13: Anything button
-
D12: Anything button
-
D11: Anything button
-
D10: Dpad Down
-
D9: Dpad Left
-
D6:Dpad Up
-
SCL: OLED SCL
-
SDA: OLED SCA
- Install CircuitPython on the Feather
- Copy the contents of "CpE_Controller" to the CIRCUITPY drive
- Unplug and replug the Feather
- Open "Set up USB game controllers"
- Select the controller
- Click "Properties" to see the joystick movement and button presses
- Install "jstest-gtk" to see joystick movement and button presses