Hi FoleyX90,
i have only one solution, regarding this example on wiki
http://wiki.esoui.com/AddOn_Quick_Qu...an_tie_into.3F
bindings.xml
Lua Code:
<Bindings>
<Layer name="SI_LAYER_NAME_STRING">
<Category name="SI_CATEGORY_NAME_STRING">
<Action name="TURN_RIGHT">
<Down>OnKeyDown()</Down>
<Up>OnKeyUp()</Up>
</Action>
</Category>
</Layer>
</Bindings>
This creates a section in the ESC->Controls->Keybindings settings where you need to bind keys, before you can trigger key up/down events.
lua:
Lua Code:
ZO_CreateStringId("SI_BINDING_NAME_TURN_RIGHT", "Turn Right")
After that you can call any func you whant
Lua Code:
function MyAddnon.OnKeyDown()
--do somtehing
end
function MyAddnon.OnKeyUp()
--do somtehing
end
i hope it will help,Good luck!