Wowpedia
Advertisement

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