v0.13.7

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

signaturewowlua
function C_GamePad.GetDeviceMappedState(    deviceID: number?): GamePadMappedState?

Parameters

nametypedescription
deviceIDnumber?The device to read; the active one when omitted.

Returns

state · GamePadMappedState?

GamePadMappedState
fieldtype
namestring
labelStylestring
buttonCountnumber
axisCountnumber
stickCountnumber
buttonsboolean[]
axesnumber[]
sticksGamePadStick[]

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.