Skip to main content

GameInputDeviceCallback

Title-defined callback for device connected and disconnected events. This function is registered with IGameInput::RegisterDeviceCallback. This function is triggered by the conditions set from the registration function.

Syntax

Parameters

callbackToken   _In_
Type: GameInputCallbackToken
Callback token for the registered function. Token returned by IGameInput::RegisterDeviceCallback. context   _In_
Type: void*
The context passed to IGameInput::RegisterDeviceCallback. device   _In_
Type: IGameInputDevice*
Device which triggered the callback. timestamp   _In_
Type: uint64_t
Microsecond timestamp denoting when the status change occurred. currentStatus   _In_
Type: GameInputDeviceStatus
Current connection and input status of the device. previousStatus   _In_
Type: GameInputDeviceStatus
Previous connection and input status of the device.

Return value

Input API Overview
GameInput
IGameInput::RegisterDeviceCallback

Version History

Last modified on August 4, 2026