Skip to main content
Deprecated. This method was removed in GameInput v4 and is not available in the current API. Use IGameInputDevice::IsConnected to check whether a device is connected, and handle GameInputDeviceEvent values in the device callback to react to changes.
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 type GameInputDeviceStatus. 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 the GetDeviceStatus 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

See also

Deprecated GameInput API members
IGameInputDevice::IsConnected
GameInputDeviceEvent
Overview of GameInput
GameInputDeviceStatus
RegisterDeviceCallback
IGameInputDevice

Version History

Last modified on November 5, 2026