22 lines
556 B
Python
22 lines
556 B
Python
|
|
# GP2X joystick button mappings
|
|
BUTTON_UP = (0)
|
|
BUTTON_DOWN = (4)
|
|
BUTTON_LEFT = (2)
|
|
BUTTON_RIGHT = (6)
|
|
BUTTON_UPLEFT = (1)
|
|
BUTTON_UPRIGHT = (7)
|
|
BUTTON_DOWNLEFT = (3)
|
|
BUTTON_DOWNRIGHT = (5)
|
|
BUTTON_CLICK = (18)
|
|
BUTTON_A = (12)
|
|
BUTTON_B = (13)
|
|
BUTTON_X = (14)
|
|
BUTTON_Y = (15)
|
|
BUTTON_L = (10)
|
|
BUTTON_R = (11)
|
|
BUTTON_START = (8)
|
|
BUTTON_SELECT = (9)
|
|
BUTTON_VOLUP = (16)
|
|
BUTTON_VOLDOWN = (17)
|