GameInputEnumerationKind

Enumerates types of behavior for enumerating input devices.

Syntax

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

Constants

Constant Description
GameInputNoEnumeration Input devices will not be enumerated.
GameInputAsyncEnumeration Input devices will be enumerated asynchronously.
GameInputBlockingEnumeration Input devices will be enumerated 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

IGameInput::RegisterDeviceCallback
Overview of GameInput
GameInput