GameControlButton
Constants in the GameControlButton flag set. These are flags and can be combined with bitwise OR.
integer GAME_CONTROL_BUTTON_DPAD_DOWN = 0x1000; // D-pad down.integer GAME_CONTROL_BUTTON_DPAD_LEFT = 0x2000; // D-pad left.integer GAME_CONTROL_BUTTON_DPAD_RIGHT = 0x4000; // D-pad right.integer GAME_CONTROL_BUTTON_DPAD_UP = 0x800; // D-pad up.integer GAME_CONTROL_BUTTON_EAST = 0x2; // Right face button.integer GAME_CONTROL_BUTTON_HOME = 0x20; // Home/guide button.integer GAME_CONTROL_BUTTON_LEFTSHOULDER = 0x200; // Left shoulder/bumper button.integer GAME_CONTROL_BUTTON_LEFTSTICK = 0x80; // Left analog stick click.integer GAME_CONTROL_BUTTON_MISC1 = 0x8000; // Miscellaneous button 1.integer GAME_CONTROL_BUTTON_NORTH = 0x8; // Top face button.integer GAME_CONTROL_BUTTON_PADDLE1 = 0x10000; // Paddle button 1.integer GAME_CONTROL_BUTTON_PADDLE2 = 0x20000; // Paddle button 2.integer GAME_CONTROL_BUTTON_PADDLE3 = 0x40000; // Paddle button 3.integer GAME_CONTROL_BUTTON_PADDLE4 = 0x80000; // Paddle button 4.integer GAME_CONTROL_BUTTON_RIGHTSHOULDER = 0x400; // Right shoulder/bumper button.integer GAME_CONTROL_BUTTON_RIGHTSTICK = 0x100; // Right analog stick click.integer GAME_CONTROL_BUTTON_SELECT = 0x10; // Select/back button.integer GAME_CONTROL_BUTTON_SOUTH = 0x1; // Bottom face button.integer GAME_CONTROL_BUTTON_START = 0x40; // Start/menu button.integer GAME_CONTROL_BUTTON_TOUCHPAD = 0x100000; // Touchpad click.integer GAME_CONTROL_BUTTON_WEST = 0x4; // Left face button.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
GAME_CONTROL_BUTTON_DPAD_DOWN | integer | 0x1000 | D-pad down. |
GAME_CONTROL_BUTTON_DPAD_LEFT | integer | 0x2000 | D-pad left. |
GAME_CONTROL_BUTTON_DPAD_RIGHT | integer | 0x4000 | D-pad right. |
GAME_CONTROL_BUTTON_DPAD_UP | integer | 0x800 | D-pad up. |
GAME_CONTROL_BUTTON_EAST | integer | 0x2 | Right face button. |
GAME_CONTROL_BUTTON_HOME | integer | 0x20 | Home/guide button. |
GAME_CONTROL_BUTTON_LEFTSHOULDER | integer | 0x200 | Left shoulder/bumper button. |
GAME_CONTROL_BUTTON_LEFTSTICK | integer | 0x80 | Left analog stick click. |
GAME_CONTROL_BUTTON_MISC1 | integer | 0x8000 | Miscellaneous button 1. |
GAME_CONTROL_BUTTON_NORTH | integer | 0x8 | Top face button. |
GAME_CONTROL_BUTTON_PADDLE1 | integer | 0x10000 | Paddle button 1. |
GAME_CONTROL_BUTTON_PADDLE2 | integer | 0x20000 | Paddle button 2. |
GAME_CONTROL_BUTTON_PADDLE3 | integer | 0x40000 | Paddle button 3. |
GAME_CONTROL_BUTTON_PADDLE4 | integer | 0x80000 | Paddle button 4. |
GAME_CONTROL_BUTTON_RIGHTSHOULDER | integer | 0x400 | Right shoulder/bumper button. |
GAME_CONTROL_BUTTON_RIGHTSTICK | integer | 0x100 | Right analog stick click. |
GAME_CONTROL_BUTTON_SELECT | integer | 0x10 | Select/back button. |
GAME_CONTROL_BUTTON_SOUTH | integer | 0x1 | Bottom face button. |
GAME_CONTROL_BUTTON_START | integer | 0x40 | Start/menu button. |
GAME_CONTROL_BUTTON_TOUCHPAD | integer | 0x100000 | Touchpad click. |
GAME_CONTROL_BUTTON_WEST | integer | 0x4 | Left face button. |