Syntax
Parameters
This method has no parameters.Return value
Type: GameInputKind A combination ofGameInputKind flags that describes every kind of input the device supports. Returns GameInputKindUnknown if the device doesn’t support any known kind of input.
Remarks
The returned flags describe the device as a whole. An individual reading from the device contains only some of these kinds; use IGameInputReading::GetInputKind to find out which kinds of input a specific reading contains. A supported input kind usually means that the corresponding info method on the device returns data. For example, if the returned value includesGameInputKindGamepad, IGameInputDevice::GetGamepadInfo returns true. Similarly, GameInputKindTouch indicates that IGameInputDevice::GetTouchSurfaceCount returns a nonzero value.
GameInputKindLighting is an output-only kind. It indicates that the device has lamps that you can control by using IGameInputDevice::SetLightingColor; readings never contain lighting data.
The following example checks whether a device can be used as a gamepad.
supportedInput member of the GameInputDeviceInfo structure returned by IGameInputDevice::GetDeviceInfo.
Requirements
Header: GameInput.h Library: gameinput.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
Overview of GameInputIGameInputDevice
GameInputKind
IGameInputReading::GetInputKind
