I’m using a (new) remote. It’s a very cheap “X-Strong 2.4G Mini R…” It works great and was available from Amazon.
That said the menu button isn’t working (I (as in India) on the keyboard, to bring up the menus). It is a button with 4 horizontal bars which I think is the common menu symbol.
I’ve searched and can find many items, but none have helped. I don’t have a /dev/lirc0. “renaming” won’t work in this case.
My question… How can I tell what the remote is sending? I can’t map a key until I know what that key is. Once I know which key I can either rename or go into the core file (which I’ve seen listed) and edit it. To get started I need to know what the key press is doing and I can’t find anything that works.
Enable debug logging and then on command line run
tail -f .kodi/temp/kodi.log that will show you if and which key Kodi receive.
Details regarding how to access the command line interface can be found here on our Wiki: https://osmc.tv/wiki/general/accessing-the-command-line/
Thank you very much. I turned on debugging on got the code. I just SSHed in.
Then I couldn’t figure out how to match the key code to the function. The key returns a number but the tables all were listed by function.
I ended up just using the Keymap Editor add on. This worked extremely well. So, for anyone reading this later…
Go in and browse add ons. Find the Keymap Editor and install it. Then run it (Apps from the main menu). From there it’s intuitive, or at least it was for me. Once complete it wrote a file in the …\userdata\keymaps folder.
Very nice. Thanks.