API C GamePad.ButtonBindingToIndex

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 ?