GameInputSystemButtons

Enumerates buttons used for controlling the system, often outside of a game.

Syntax

enum GameInputSystemButtons
{
    GameInputSystemButtonNone  = 0x00000000,
    GameInputSystemButtonGuide = 0x00000001,
    GameInputSystemButtonShare = 0x00000002
};

Constants

Constant Description
GameInputSystemButtonNone No system buttons.
GameInputSystemButtonGuide Guide button.
GameInputSystemButtonShare Share button.

Remarks

This enumeration is used to identify system buttons. Values may be combined.

Use IGameInputDevice::GetSupportedSystemButtons to determine which system buttons a device has, and IGameInputReading::GetSystemButtonState to read their state from readings of kind GameInputKindSystemButton. In GameInput v3 and earlier, system button events were delivered through IGameInput::RegisterSystemButtonCallback, which was removed in v4.

Requirements

Header: GameInput.h

Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

Overview of GameInput
GameInput
IGameInputReading::GetSystemButtonState
IGameInputDevice::GetSupportedSystemButtons

Version History

Version Changes
v0 Introduced.