
I really like these new addons that are coming out like Chronicle and Xichecklist, but I hate navigating them with my mouse.
This game is very keyboard heavy, so I wanted to be able to navigate them via keyboard at the very least and I could make it work for my controller later. ..maybe via the crossbar or a simple remap on the controller.
So this example was designed to demo what I guess could be later reused as a supplementary addon to other addons.
The example addon

This addon or any addon for that matter can be swapped to using a trigger such as //mf focus
This particular addon stays hidden until called.
Once this is pressed it allows for navigation via tab, 1-9, space, esc.
The example already has a framework in place to support submenus.
It blocks input to the game while the focused window is active in most of my test cases.
Turns out enter is not blockable so I need to remove it.
Spacebar was added as an alternative and should be blocked while the window is in focus as all other designated keys.
I have not added numpad yet, but plan to.
Everything runs in /echo for now as its only a demo but the layout is very straight forward if you want to actually use the addon as is.
I did some light testing hooking this into Xichecklist and Chronicle. It’s definitely not perfect yet and obviously needs more tweaking, but it worked well enough to prove the concept. There is more information on the github.
But I was able to enable a xic focus or a cr focus and then move around the addons via arrow keys and spacebar/esc.
local menu_items = {
{
name = "Travel Options...",
submenu = {
{ name = "Use Warp Ring", action = "/echo Using Warp Ring..." },
{ name = "Cast Warp", action = "/echo Casting Warp..." },
{ name = "Back to Main", action = "back" }
}
},
{
name = "Buffs & Items...",
submenu = {
{ name = "Use Echo Drops", action = "/item "Echo Drops" " },
{ name = "Use Remedy (Mock)", action = "/echo Using Remedy..." },
{ name = "Back to Main", action = "back" }
}
},
{ name = "Exit Menu", action = "close" }
}You can then use the example to launch your own extra commands.
I made this purely out of frustration with clicking things, not out of expertise. This is definitely out of my wheelhouse, so I could use any help I can get.
https://github.com/State-Null/MenuFocus
