Keyboard.xml - I need to map a key combination to a remote button - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Keyboard.xml - I need to map a key combination to a remote button (/showthread.php?tid=335559) |
Keyboard.xml - I need to map a key combination to a remote button - Hardax - 2018-09-14 I understand the concept of the keyboard.xml but am having a hard time finding any way of doing what I need. I have a USB remote that sends keyboard commands. I want to map the remotes volume down button (the code sent while pressing this button is KeyID 61657) to a keyboard keypress of Control-Escape. Is this possible? All the examples I see online want to map the KeyID to a Kodi action. I need it to be mapped to a modifier keypress. Any help would be greatly appreciated RE: Keyboard.xml - I need to map a key combination to a remote button - AMoo-Miki - 2018-09-15 Edited after reading your post again @scott967's message: You could perhaps just use the key ID directly to do the action you want.
If you are interested in the details, check here. Also, in your Kodi installation folder, check system/keymaps/keyboard.xml for great examples of how many of the keys are made to work; the same file can be found here.In the past, I have used EventGhost to do that kind of mapping when I couldn't figure IDs. RE: Keyboard.xml - I need to map a key combination to a remote button - scott967 - 2018-09-15 I don't think there's a way in Kodi to remap a key like that, so Kodi sees a different input TBH. scott s. . RE: Keyboard.xml - I need to map a key combination to a remote button - Hardax - 2018-09-15 I was just using the volume down button as an example. I’m not looking to actually control the volume here. What I was hoping to do via remapping was to send a “Ctrl+Esc” keyboard combo command from an unused button on my remote (its one of this OSMBC remotes that sends keyboard commands via a usb dongle). |