[~]New GPIO pin layout

This commit is contained in:
SPiNNiX 2020-06-27 00:48:00 +02:00
parent d0e9b946df
commit 457470fe52

View file

@ -2,15 +2,15 @@ import uinput
import time import time
import RPi.GPIO as GPIO import RPi.GPIO as GPIO
P1_BTN_FIRE1 = 4 P1_BTN_FIRE1 = 2
P1_BTN_FIRE2 = 17 P1_BTN_FIRE2 = 3
P1_BTN_UP = 27 P1_BTN_UP = 4
P1_BTN_DOWN = 22 P1_BTN_DOWN = 17
P1_BTN_LEFT = 26 P1_BTN_LEFT = 27
P1_BTN_RIGHT = 10 P1_BTN_RIGHT = 22
P1_BTN_SELECT = 9 P1_BTN_SELECT = 10
P1_BTN_START = 11 P1_BTN_START = 9
P1_BTN_MODE = 14 P1_BTN_MODE = 11
P2_BTN_FIRE1 = 0 P2_BTN_FIRE1 = 0
P2_BTN_FIRE2 = 5 P2_BTN_FIRE2 = 5
P2_BTN_UP = 6 P2_BTN_UP = 6