Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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
IGameInput::RegisterDeviceCallback
Overview of GameInput
GameInput