mirror of https://github.com/axmolengine/axmol.git
38 lines
729 B
Lua
38 lines
729 B
Lua
|
cc = cc or {}
|
||
|
|
||
|
cc.ControllerKey =
|
||
|
{
|
||
|
JOYSTICK_LEFT_X = 1000,
|
||
|
JOYSTICK_LEFT_Y = 1001,
|
||
|
JOYSTICK_RIGHT_X = 1002,
|
||
|
JOYSTICK_RIGHT_Y = 1003,
|
||
|
|
||
|
BUTTON_A = 1004,
|
||
|
BUTTON_B = 1005,
|
||
|
BUTTON_C = 1006,
|
||
|
BUTTON_X = 1007,
|
||
|
BUTTON_Y = 1008,
|
||
|
BUTTON_Z = 1009,
|
||
|
|
||
|
BUTTON_DPAD_UP = 1010,
|
||
|
BUTTON_DPAD_DOWN = 1011,
|
||
|
BUTTON_DPAD_LEFT = 1012,
|
||
|
BUTTON_DPAD_RIGHT = 1013,
|
||
|
BUTTON_DPAD_CENTER = 1014,
|
||
|
|
||
|
BUTTON_LEFT_SHOULDER = 1015,
|
||
|
BUTTON_RIGHT_SHOULDER = 1016,
|
||
|
|
||
|
AXIS_LEFT_TRIGGER = 1017,
|
||
|
AXIS_RIGHT_TRIGGER = 1018,
|
||
|
|
||
|
BUTTON_LEFT_THUMBSTICK = 1019,
|
||
|
BUTTON_RIGHT_THUMBSTICK = 1020,
|
||
|
|
||
|
BUTTON_START = 1021,
|
||
|
BUTTON_SELECT = 1022,
|
||
|
|
||
|
BUTTON_PAUSE = 1023,
|
||
|
KEY_MAX = 1024,
|
||
|
}
|