diff --git a/gpiopad.py b/gpiopad.py index a255599..cbfbe1d 100644 --- a/gpiopad.py +++ b/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