C_GamePad. GetDeviceMappedState
functionrecordedavailable in: camelot
Returns the state of a gamepad's buttons, axes and sticks after its mapping is applied. · description by wowlua
function C_GamePad.GetDeviceMappedState( deviceID: number?): GamePadMappedState?Parameters
| name | type | description |
|---|---|---|
deviceID | number? | The device to read; the active one when omitted. |
Returns
state · GamePadMappedState?
| field | type |
|---|---|
name | string |
labelStyle | string |
buttonCount | number |
axisCount | number |
stickCount | number |
buttons | boolean[] |
axes | number[] |
sticks | GamePadStick[] |
In wowlua's emulated client
recordedThe answer was recorded from the real client and is played back for the same call. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (GamePad system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.