[~]New GPIO pin layout
This commit is contained in:
parent
d0e9b946df
commit
457470fe52
1 changed files with 9 additions and 9 deletions
18
gpiopad.py
18
gpiopad.py
|
@ -2,15 +2,15 @@ import uinput
|
|||
import time
|
||||
import RPi.GPIO as GPIO
|
||||
|
||||
P1_BTN_FIRE1 = 4
|
||||
P1_BTN_FIRE2 = 17
|
||||
P1_BTN_UP = 27
|
||||
P1_BTN_DOWN = 22
|
||||
P1_BTN_LEFT = 26
|
||||
P1_BTN_RIGHT = 10
|
||||
P1_BTN_SELECT = 9
|
||||
P1_BTN_START = 11
|
||||
P1_BTN_MODE = 14
|
||||
P1_BTN_FIRE1 = 2
|
||||
P1_BTN_FIRE2 = 3
|
||||
P1_BTN_UP = 4
|
||||
P1_BTN_DOWN = 17
|
||||
P1_BTN_LEFT = 27
|
||||
P1_BTN_RIGHT = 22
|
||||
P1_BTN_SELECT = 10
|
||||
P1_BTN_START = 9
|
||||
P1_BTN_MODE = 11
|
||||
P2_BTN_FIRE1 = 0
|
||||
P2_BTN_FIRE2 = 5
|
||||
P2_BTN_UP = 6
|
||||
|
|
Loading…
Reference in a new issue