ESODecoded

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) then

Short excerpt from the shipping addon Dolgubon's Lazy Writ Crafterits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Dolgubon's Lazy Writ Crafter9,498,314
pChat (Chat customization & help: look/notification/sound/automation/history)1,832,805
TraitBuddy1,101,730
AlphaGear 2 (Builds, Gear, Skills, Banking)848,683
Greymind Quick Slot Bar710,122
Votan's Keybinder571,125