GameInputEnumerationKind

Warning

Deprecated. This enumeration was removed in GameInput v4 and is not available in the current API. There is no replacement: in v4, IGameInput::RegisterDeviceCallback always enumerates the connected devices asynchronously.

Enumerates types of behavior for enumerating input devices.

Syntax

enum GameInputEnumerationKind
{
    GameInputNoEnumeration       = 0,
    GameInputAsyncEnumeration    = 1,
    GameInputBlockingEnumeration = 2
};

Constants

Constant Description
GameInputNoEnumeration Disables enumeration of input devices.
GameInputAsyncEnumeration Enumerates input devices asynchronously.
GameInputBlockingEnumeration Enumerates input devices synchronously.

Remarks

This enumeration is used by the IGameInput::RegisterDeviceCallback method. Both GameInputAsyncEnumeration and GameInputBlockingEnumeration cause an initial round of callbacks to be generated. GameInputBlockingEnumeration causes RegisterDeviceCallback to block until all initial callbacks are called.

For more information, see GameInput callbacks.

Requirements

Header: GameInput.h

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

See also

Deprecated GameInput API members
IGameInput::RegisterDeviceCallback
Overview of GameInput
GameInput

Version History

Version Changes
v4 Removed.
v0 Introduced.