GetActionBindingInfo
ESO Lua API function — used by 46 of the 3,030 addons we indexed (combined 17,960,073 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetActionBindingInfo(luaindex layerIndex, luaindex categoryIndex, luaindex actionIndex, luaindex bindingIndex)Returns: keyCode, mod1, mod2, mod3, mod4
Real usage — from Dolgubon's Lazy Writ Crafter
for i =1, 4 do
key = GetActionBindingInfo(3, 1, 3, i)
if IsKeyCodeGamepadKey(key) thenShort excerpt from the shipping addon Dolgubon's Lazy Writ Crafter — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Dolgubon's Lazy Writ Crafter | 9,498,314 |
| pChat (Chat customization & help: look/notification/sound/automation/history) | 1,832,805 |
| TraitBuddy | 1,101,730 |
| AlphaGear 2 (Builds, Gear, Skills, Banking) | 848,683 |
| Greymind Quick Slot Bar | 710,122 |
| Votan's Keybinder | 571,125 |