![]() In this example the "Notification" action pops up a message, which is useful only for debugging.Ī quick way to check what keys and actions are available is to open (but don't modify!) C:\Program Files\Kodi\system\keymaps\keyboard.xml as this has lots of useful examples. The bit in between and is the action Kodi should take. If you want to specify control, shift or alt you use mod="ctrl,shift,alt" or any combination. The key mappings are fairly obvious: in our example above the means the mapping is for the key "q". Now start Kodi and press control-Q, and a little message should pop up saying you've pressed "q". When you press control-Q ShowKey generates the XML:Ĭopy and paste this into your keyboard.xml, so it looks like: If you don't already have a keyboard.xml file copy and paste in this template:Īs an example let's take the control-Q keystroke I mentioned above. If you are prompted to create a new file answer "Yes". Notepad %appdata%\Kodi\userdata\keymaps\keyboard.xml The quickest way to edit your userdata keyboard.xml is to press Windows-R to open the Run dialog then type: You need to create a personal keyboard.xml in your userdata folder and update this file with your customised key mappings. There is a system keyboard.xml in C:\Program Files\Kodi\system\keymaps, and you should normally leave this alone. Kodi uses a key mapping file called keyboard.xml to determine how it should respond to key presses. The article describes using Notepad to modify keyboard.xml, but there is a keymap editor available from or it's included in the MCERemote addon. The remainder of this article specifically addresses creating entries for MCE remotes. The ShowKey applet also gives you the line of XML you need in your keyboard.xml file, and this brings us to Step 2.Įditing the keyboard.xml is described in Modifying keyboard.xml. press the Q key on the keyboard and ShowKey will report: You should find that ShowKey reports any key you press e.g. Use your favorite package manager to find the right package to install. On Linux, you can skip the grab part and run showkey program as root. Step 1 is easy because there is an applet available to display keypresses. Configure the Kodi keymapping to respond to that keypress.Work out what keypress your remote sends when you press a button.The remainder of this article describes how to work out what keypress your remote is sending and how to configure Kodi to respond to it. The only option available to you for configuring an MCE remote is to modify the Kodi key mapping to make the key do what you want. ![]() Kodi handles some multimedia keyboard keypresses, but in any case Windows has a tendancy to convert multimedia keypresses into APPCOMMAND messages. Kodi handles all the common APPCOMMAND messages, and it handles all the Media Center keyboard shortcuts. To use this type of remote an application has to process the Media Center key presses. when you press the Play button they simulate the key press control-shift-P. ![]() Many cheap MCE remotes simulate these keyboard shortcuts e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |