![]() ![]() 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |