Currently, I have to press the numlock key after booting to enable it (very useful to seek to a certain duration with the number keys).
I looked at the code and it looks like this is where pressing numlock changes the behaviour:
And that part handles the numlock LED:
Would it be possible to add an option that sets modifiers to CKey::MODIFIER_NUMLOCK by default (and maybe turns on the LED too)? Is this the right place to ask or should I request that directly on Kodi’s tracker?
If this is too complicated, is there a workaround that I could use to enable numlock at boot (something like xdotool for Xorg)? I have to admit I don’t really understand how Kodi works without Xorg, I have never used a non-Xorg graphical interface.