GameInputRacingWheelButtons
Enumerates buttons on a racing wheel.
Syntax
typedef enum GameInputRacingWheelButtons
{
GameInputRacingWheelNone = 0x00000000,
GameInputRacingWheelMenu = 0x00000001,
GameInputRacingWheelView = 0x00000002,
GameInputRacingWheelPreviousGear = 0x00000004,
GameInputRacingWheelNextGear = 0x00000008,
GameInputRacingWheelDpadUp = 0x00000010,
GameInputRacingWheelDpadDown = 0x00000020,
GameInputRacingWheelDpadLeft = 0x00000040,
GameInputRacingWheelDpadRight = 0x00000080
} GameInputRacingWheelButtons
Constants
Constant | Description |
---|---|
GameInputRacingWheelNone | No button pressed. |
GameInputRacingWheelMenu | Menu button pressed. |
GameInputRacingWheelView | View button pressed. |
GameInputRacingWheelPreviousGear | Previous gear selected. |
GameInputRacingWheelNextGear | Next gear selected. |
GameInputRacingWheelDpadUp | Top portion of D-pad pressed. |
GameInputRacingWheelDpadDown | Bottom portion of D-pad pressed. |
GameInputRacingWheelDpadLeft | Left portion of D-pad pressed. |
GameInputRacingWheelDpadRight | Right portion of D-pad pressed. |
Remarks
This enumeration is used in the GameInputRacingWheelState 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, Xbox One family consoles and Xbox Series consoles