Partager via


GameInputDeviceCapabilities

Enumerates certain capabilities of an input device.

Syntax

typedef enum GameInputDeviceCapabilities    
{  
    GameInputDeviceCapabilityNone = 0x00000000,  
    GameInputDeviceCapabilityAudio = 0x00000001,  
    GameInputDeviceCapabilityPluginModule = 0x00000002,  
    GameInputDeviceCapabilityPowerOff = 0x00000004,  
    GameInputDeviceCapabilitySynchronization = 0x00000008,  
    GameInputDeviceCapabilityWireless = 0x00000010 
} GameInputDeviceCapabilities  

Constants

Constant Description
GameInputDeviceCapabilityNone The device has no special capabilities.
GameInputDeviceCapabilityAudio The device has audio capabilities, such as a microphone or speaker.
GameInputDeviceCapabilityPluginModule The device can use plug-in module devices, such as chatpads or external audio volume controls.
GameInputDeviceCapabilityPowerOff The device can be turned off by calling IGameInputDevice::PowerOff.
GameInputDeviceCapabilitySynchronization The device supports Dynamic Latency Input (DLI) synchronization.
GameInputDeviceCapabilityWireless The device can connect wirelessly.

Remarks

This enumeration is used in the GameInputDeviceInfo structure. You can combine values to target multiple capabilities.

For more information, see GameInput devices.

Requirements

Header: GameInput.h

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

See also

IGameInputDevice::PowerOff
Overview of GameInput
GameInput