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: voidRemarks
TheGameInputSystemButtonCallback 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 GameInputGameInput
