GameInputKind
Enumeration of valid GameInput device types.
Syntax
typedef enum GameInputKind
{
GameInputKindUnknown = 0x00000000,
GameInputKindRawDeviceReport = 0x00000001,
GameInputKindControllerAxis = 0x00000002,
GameInputKindControllerButton = 0x00000004,
GameInputKindControllerSwitch = 0x00000008,
GameInputKindController = 0x0000000E,
GameInputKindKeyboard = 0x00000010,
GameInputKindMouse = 0x00000020,
GameInputKindTouch = 0x00000100,
GameInputKindMotion = 0x00001000,
GameInputKindArcadeStick = 0x00010000,
GameInputKindFlightStick = 0x00020000,
GameInputKindGamepad = 0x00040000,
GameInputKindRacingWheel = 0x00080000,
GameInputKindUiNavigation = 0x01000000
} GameInputKind
Constants
Constant | Description |
---|---|
GameInputKindUnknown | Unknown Game input type |
GameInputKindRawDeviceReport | Raw input Device |
GameInputKindControllerAxis | Controller input from sticks |
GameInputKindControllerButton | Controller input from buttons |
GameInputKindControllerSwitch | Controller input from switches |
GameInputKindController | Combination of Axis, Button, and Switch |
GameInputKindKeyboard | Keyboard input |
GameInputKindMouse | Mouse input |
GameInputKindTouch | Touch screen input |
GameInputKindMotion | Motion capture input |
GameInputKindArcadeStick | Arcade stick input |
GameInputKindFlightStick | Flight stick input |
GameInputKindGamepad | Gamepad Inputs |
GameInputKindRacingWheel | Racing wheel input |
GameInputKindUiNavigation | UI navigation input |
Remarks
GameInputKind are flag values and can be combined to filter on multiple devices.
Parameter for IGameInput_GetCurrentReading.
Returned by IGameInputReading_GetInputKind.
Member of GameInputControllerAxisInfo.
Member of GameInputControllerButtonInfo.
Member of GameInputControllerSwitchInfo.
Member of GameInputDeviceInfo.
Member of GameInputTouchSensorInfo.
Requirements
Header: GameInput.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles
See also
Input API Overview
GameInput
IGameInput_GetCurrentReading
IGameInputReading_GetInputKind
GameInputControllerAxisInfo
GameInputControllerButtonInfo
GameInputControllerSwitchInfo
GameInputDeviceInfo
GameInputTouchSensorInfo