Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumerates inputs from an arcade stick.
Syntax
enum GameInputArcadeStickButtons
{
GameInputArcadeStickNone = 0x00000000,
GameInputArcadeStickMenu = 0x00000001,
GameInputArcadeStickView = 0x00000002,
GameInputArcadeStickUp = 0x00000004,
GameInputArcadeStickDown = 0x00000008,
GameInputArcadeStickLeft = 0x00000010,
GameInputArcadeStickRight = 0x00000020,
GameInputArcadeStickAction1 = 0x00000040,
GameInputArcadeStickAction2 = 0x00000080,
GameInputArcadeStickAction3 = 0x00000100,
GameInputArcadeStickAction4 = 0x00000200,
GameInputArcadeStickAction5 = 0x00000400,
GameInputArcadeStickAction6 = 0x00000800,
GameInputArcadeStickSpecial1 = 0x00001000,
GameInputArcadeStickSpecial2 = 0x00002000
};
Constants
Constant | Description |
---|---|
GameInputArcadeStickNone | The arcade stick is in a neutral state. |
GameInputArcadeStickMenu | The menu button on the arcade stick is pressed. |
GameInputArcadeStickView | The view button on the arcade stick is pressed. |
GameInputArcadeStickUp | The arcade stick is pushed up. |
GameInputArcadeStickDown | The arcade stick is pushed down. |
GameInputArcadeStickLeft | The arcade stick is pushed to the left. |
GameInputArcadeStickRight | The arcade stick is pushed to the right. |
GameInputArcadeStickAction1 | Action button 1 on the arcade stick is pressed. |
GameInputArcadeStickAction2 | Action button 2 on the arcade stick is pressed. |
GameInputArcadeStickAction3 | Action button 3 on the arcade stick is pressed. |
GameInputArcadeStickAction4 | Action button 4 on the arcade stick is pressed. |
GameInputArcadeStickAction5 | Action button 5 on the arcade stick is pressed. |
GameInputArcadeStickAction6 | Action button 6 on the arcade stick is pressed. |
GameInputArcadeStickSpecial1 | Special button 1 on the arcade stick is pressed. |
GameInputArcadeStickSpecial2 | Special button 2 on the arcade stick is pressed. |
Remarks
This enumeration is used in the GameInputArcadeStickState structure. You can combine values to read multiple buttons simultaneously.
For more information, see the Getting data from readings section of GameInput readings.
Requirements
Header: GameInput.h
Supported platforms: Windows