Белешка
Приступ овој страници захтева ауторизацију. Можете покушати да се пријавите или промените директоријуме.
Приступ овој страници захтева ауторизацију. Можете покушати да промените директоријуме.
Enumerates types of switches supported by an input device.
Syntax
enum GameInputSwitchKind
{
GameInputUnknownSwitchKind = -1,
GameInput2WaySwitch = 0,
GameInput4WaySwitch = 1,
GameInput8WaySwitch = 2
};
Constants
| Constant | Description |
|---|---|
| GameInputUnknownSwitchKind | Unidentified switch type. |
| GameInput2WaySwitch | Switch with two positions. |
| GameInput4WaySwitch | Switch with four positions. |
| GameInput8WaySwitch | Switch with eight positions. |
Remarks
This enumeration is used in the GameInputControllerSwitchInfo and GameInputFlightStickInfo structures. For a flight stick, the values usually apply to the hat switch.
For intermediate and advanced use cases of the GameInput API, see Advanced GameInput topics.
Requirements
Header: GameInput.h
Supported platforms: Windows