Hi,
I'm trying to implement a key binding system in my add-on, but it doesn't work. This is the code I have:
Bindings.xml
Code:
<Bindings>
<Layer name="Improved">
<Category>
<Action name="ITESO_TOGGLE_DISPLAY_MENU_WINDOW">
<Down>ITESO.ToggleDisplayMenuWindow()</Down>
</Action>
<Action name="ITESO_TOGGLE_DISPLAY_HELM">
<Down>ITESO.ToggleDisplayHelm()</Down>
</Action>
</Category>
</Layer>
</Bindings>
Bindings.lua
Code:
ZO_CreateStringId("SI_BINDING_NAME_ITESO_TOGGLE_DISPLAY_MENU_WINDOW", "Toggle Display Menu Window")
ZO_CreateStringId("SI_BINDING_NAME_ITESO_TOGGLE_DISPLAY_HELM", "Toggle Display Helm")
I hope you can help me.
Regards and thanks in advance.