Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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