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 buttons on a racing wheel.
Syntax
enum GameInputRacingWheelButtons
{
GameInputRacingWheelNone = 0x00000000,
GameInputRacingWheelMenu = 0x00000001,
GameInputRacingWheelView = 0x00000002,
GameInputRacingWheelPreviousGear = 0x00000004,
GameInputRacingWheelNextGear = 0x00000008,
GameInputRacingWheelDpadUp = 0x00000010,
GameInputRacingWheelDpadDown = 0x00000020,
GameInputRacingWheelDpadLeft = 0x00000040,
GameInputRacingWheelDpadRight = 0x00000080
};
Constants
Constant | Description |
---|---|
GameInputRacingWheelNone | Indicates that no button is pressed. |
GameInputRacingWheelMenu | Indicates that the menu button is pressed. |
GameInputRacingWheelView | Indicates that the view button is pressed. |
GameInputRacingWheelPreviousGear | Indicates that the previous gear is selected. |
GameInputRacingWheelNextGear | Indicates that the next gear is selected. |
GameInputRacingWheelDpadUp | Indicates that the top portion of the D-pad is pressed. |
GameInputRacingWheelDpadDown | Indicates that the bottom portion of the D-pad is pressed. |
GameInputRacingWheelDpadLeft | Indicates that the left portion of the D-pad is pressed. |
GameInputRacingWheelDpadRight | Indicates that the right portion of the D-pad is 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