Alternative keymaps for number pads: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Alternative keymaps for the number pads, as suggested by the community. | Alternative keymaps for the number pads, as suggested by the community. Allows a number pad to control Kodi. | ||
== Installing keymaps == | |||
{{keymap install instructions}} | |||
==Keymap 1== | == Keymap 1 == | ||
;What it does | ;What it does | ||
* '''0''' - OSD | * '''0''' - OSD | ||
Line 12: | Line 13: | ||
* '''5''' - Select | * '''5''' - Select | ||
* '''6''' - Right | * '''6''' - Right | ||
* '''7''' - | * '''7''' - Kodi Home screen | ||
* '''8''' - Up | * '''8''' - Up | ||
* '''9''' - BigStepForward (+10m or next chapter) | * '''9''' - BigStepForward (+10m or next chapter) | ||
Line 45: | Line 46: | ||
<numpadtimes>StepForward</numpadtimes> | <numpadtimes>StepForward</numpadtimes> | ||
<numpadperiod>Info</numpadperiod> | <numpadperiod>Info</numpadperiod> | ||
<numlock> | <numlock>PlayPause</numlock> | ||
<!-- + and - handle the volume by default --> | <!-- + and - handle the volume by default --> | ||
<!-- BackSpace is "back" by default --> | <!-- BackSpace is "back" by default --> | ||
Line 54: | Line 55: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category: | [[Category:Remotes]] |
Latest revision as of 04:05, 17 December 2020
Alternative keymaps for the number pads, as suggested by the community. Allows a number pad to control Kodi.
Installing keymaps
There are a few methods to load custom keymaps on Kodi.
File manager
Kodi's built in file manager can be used to copy files from a network file share (such as SMB/Windows sharing), or a USB thumb drive, to the userdata folder.
- Save the keymap you want to use as a plain text file as "keymap.xml" (it can be anything as long as it ends in .xml) on the file share.
- Go to the File Manager in Kodi. For the default skin, Confluence, highlight the "System" tab and then select the submenu "File manager" option.
- Add the file share as a source in the "A" window, then navigate to where the keymap file is.
- In the "B" window go do the Profile directory which will be the userdata folder, then open the keymaps folder.
- Highlight the keymap file from the "A" window, then press menu, and then select copy. This will copy the selected keymap to the Fire TV's userdata folder.
- Now just restart Kodi to load the new keymap.
Copy directly to userdata folder
- Save the keymap you want to use as a plain text file as "keymap.xml" (it can be anything as long as it ends in .xml)
- Use a file manager of your choice, such as the one build into your OS, and copy this file to the userdata folder within the keymaps folder.
The Userdata folder is a subfolder of the Kodi Data Folder and is located as shown in the table below.
Operating system | Userdata Folder |
---|---|
Android | Android/data/org.xbmc.kodi/files/.kodi/userdata/ (see note) |
iOS | /private/var/mobile/Library/Preferences/Kodi/userdata/ |
LibreELEC | /storage/.kodi/userdata/ |
Linux | ~/.kodi/userdata/ |
macOS | /Users/<your_user_name>/Library/Application Support/Kodi/userdata/ |
Nvidia Shield (SMB) | smb://<nvidiashieldurl>/internal/Android/data/org.xbmc.kodi/files/.kodi/userdata |
OSMC | /home/osmc/.kodi/userdata/ |
tvOS | /private/var/mobile/Library/Preferences/Kodi/userdata/ |
webOS | /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi/userdata/ |
Windows | %APPDATA%\Kodi\userdata |
Windows Portable | <Install location chosen by you>\portable_data\userdata\ |
Windows via Microsoft Store | %LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\ |
Windows Xbox | %LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\ |
- Note: In some Android setups the path may be slightly different to the one stated above.
Keymap 1
- What it does
- 0 - OSD
- 1 - Stop
- 2 - Down
- 3 - BigStepBack (-10m or last chapter)
- 4 - Left
- 5 - Select
- 6 - Right
- 7 - Kodi Home screen
- 8 - Up
- 9 - BigStepForward (+10m or next chapter)
- / - StepBack (-30s)
- * - StepForward (+30s)
- . (period) - Info
- NumLock - Play/Pause
- + - Volume Up
- - - Volume Down
- BackSpace - Back
- Enter - Select
- Keymap
- Cut and paste the following into a new text document and save as keyboard.xml and place in
userdata/keymaps/
<keymap> <global> <keyboard> <numpadzero>OSD</numpadzero> <numpadone>Stop</numpadone> <numpadtwo>Down</numpadtwo> <numpadthree>BigStepBack</numpadthree> <numpadfour>Left</numpadfour> <numpadfive>Select</numpadfive> <numpadsix>Right</numpadsix> <numpadseven>XBMC.ActivateWindow(Home)</numpadseven> <numpadeight>Up</numpadeight> <numpadnine>BigStepForward</numpadnine> <numpaddivide>StepBack</numpaddivide> <!-- my numpad divide shows up as "forwardslash" --> <forwardslash>StepBack</forwardslash> <numpadtimes>StepForward</numpadtimes> <numpadperiod>Info</numpadperiod> <numlock>PlayPause</numlock> <!-- + and - handle the volume by default --> <!-- BackSpace is "back" by default --> <!-- Enter is "select" by default --> </keyboard> </global> </keymap>