GetDeviceStatus
Retrieves the current status of an input device.Syntax
Parameters
This method has no parameters.Return value
Type: GameInputDeviceStatus The value returned is the enumeration typeGameInputDeviceStatus. The value returned may be a combination of the enumerated flag values from GameInputDeviceStatus.
Remarks
The returned GameInputDeviceStatus enumeration defines whether the device is connected, and the types of input and output that may be transmitted between the game and the device. If theGetDeviceStatus method is called when the device has been disconnected from the system, the GameInputDeviceNoStatus value is returned. You can use the GameInputDeviceStatus enumeration as a filter for the RegisterDeviceCallback method to react to specific changes in a device’s state.
Requirements
Header: GameInput.h Overview of GameInputGameInputDeviceStatus
RegisterDeviceCallback
IGameInputDevice
