Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Warning
Deprecated. This structure was removed in GameInput v3 and is not available in the current API. This information is now provided within GameInputControllerInfo.
Describes an individual button on a generic controller device.
Syntax
typedef struct GameInputControllerButtonInfo {
GameInputLabel label;
GameInputLocation location;
uint32_t locationId;
} GameInputControllerButtonInfo;
Members
label
Type: GameInputLabel
A label identifying the button's function.
location
Type: GameInputLocation
The physical location of the button on the device.
locationId
Type: uint32_t
An identifier distinguishing buttons at the same location.
Version History
| Version | Changes |
|---|---|
| v3 | Removed. Fields integrated into GameInputControllerInfo. |
| v2 | No changes. |
| v1 | No changes. |
| v0 | Introduced. |