Skip to main content

GameInputSystemButtonCallback

Title-defined callback called when the Guide or Share button is pressed or released.

Syntax

Parameters

callbackToken   _In_
Type: GameInputCallbackToken
The callback token returned by IGameInput::RegisterSystemButtonCallback. context   _In_
Type: void*
The title defined context passed to IGameInput::RegisterSystemButtonCallback. device   _In_
Type: IGameInputDevice*
The device that triggered the event. timestamp   _In_
Type: uint64_t
The microsecond timestamp associated with the event. currentButtons   _In_
Type: GameInputSystemButtons
The set of system buttons that are currently pressed. previousButtons   _In_
Type: GameInputSystemButtons
The set of system buttons that were previously pressed before this change.

Return value

Type: void

Remarks

The GameInputSystemButtonCallback function is the title-defined callback for the Guide or Share button (pressed or released) events. It is registered with the IGameInput::RegisterSystemButtonCallback method. This function is triggered by the conditions set from the registration method. For more information, see IGameInput::RegisterSystemButtonCallback.

Requirements

Header: GameInput.h Overview of GameInput
GameInput

Version History

Last modified on August 4, 2026