Keymapping not working continuously (Home button)

In regards to this issue: Home key function changed I am trying to use the Keymap Editor addon, in order to make the home button triggering jump to the top of menus again. I found the addon item which should be doing the thing is: Global > Navigation > First Page
The problem is that after saving the change it only seems to be effective at a very few menus. For the most part, the home button still makes OSMC jump to the start page. Interestingly, when I assign a different key to the “First Page” item, like for instance the comma key, it works as expected for all menus including those of additional addons.
Am I using the wrong key function in the Keymap Editor addon, is it maybe a bug or is this only possible by manually creating/editing the Keyboard.xml file?

To sidestep a problem I ran into creating that mapping for the OSMC remote the home button mapping is added to many individual windows instead of just a single command in global. As the window specific mappings take precedence over global mappings you can’t just map a new function for that button and have it work in most windows in this particular situation. There is a couple ways of getting to where you want to go. The easiest if your only wanting the function changed in the video library windows is to map it to “videos” in keymap editor instead of global. Another option would be to disable the custom OSMC keymap at Settings>System>Input>Peripherals>OSMC RF Remote>Don’t use the custom keymap for this device>[enable] and then reboot Kodi which should allow your global mapping to work as expected. Or for the adventurous, you can do a manual keymap. If you check out the very end of the following post…

there is an example keymap titled “Make home button dedicated to CEC power control” which you could copy and just change the global actions to the function you want. That keymap removes all the custom mappings for the home button so whatever is put in the global section will work in all windows.

That did the trick for me. Thank you very much!

1 Like