Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 9.0.1 / 2.5.1

Converts the name of a keybinding to its assigned gamepad button index. Returns nil if no gamepad button is assigned to the requested keybinding.

buttonIndex = C_GamePad.ButtonBindingToIndex(bindingName)

Arguments

bindingName 
string

Returns

buttonIndex 
number?

Patch changes


Advertisement