Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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
See also
IGameInput::RegisterDeviceCallback
Overview of GameInput
GameInput