C_GamePad.ButtonIndexToBinding

From Warcraft Wiki
Jump to navigation Jump to search

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

bindingName = C_GamePad.ButtonIndexToBinding(buttonIndex)

Arguments

buttonIndex
number

Returns

bindingName
string?

Patch changes

Shadowlands Patch 9.0.1 (2020-10-13): Added.