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.
Enumeration of the states that an input device can be in.
Syntax
enum GameInputDeviceStatus
{
GameInputDeviceNoStatus = 0x00000000,
GameInputDeviceConnected = 0x00000001,
GameInputDeviceHapticInfoReady = 0x00200000,
GameInputDeviceAnyStatus = 0xFFFFFFFF
};
Constants
| Constant | Description |
|---|---|
| GameInputDeviceNoStatus | Indicates that the device has no status. |
| GameInputDeviceConnected | Indicates that the device is connected. |
| GameInputDeviceHapticInfoReady | Indicates that the device haptics information is ready. |
| GameInputDeviceAnyStatus | Will return true for any device status. |
Remarks
These flag values may be combined as the user sees fit to filter on more than one device at a time. Returned by iGameInputDevice_GetDeviceStatus.
Applications can register to receive a callback when any of these states change, via the IGameInput::RegisterDeviceCallback method on the IGameInput interface.
Requirements
Header: GameInput.h
Supported platforms: Windows
See also
Input API Overview GameInput IGameInput::RegisterDeviceCallback