Win keyboard.xml and key binding - 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: Win keyboard.xml and key binding (/showthread.php?tid=192827) |
keyboard.xml and key binding - xarc0n - 2014-04-21 Hey I'm trying to bind a d key to subtitles download menu but cannot get it to work. I have created a userdata/keymaps/keyboard.xml with content listed below: <keymap> <FullscreenVideo> <keyboard> <d>RunScript(script.xbmc.subtitles)</d> </keyboard> </FullscreenVideo> </keymap> But when I press the d key nothing happens. I'm trying to do this because after this works I can use my harmony remote + flirc combination so that i can use my remote to access the xbmc subtitles download menu. Its like the keyboard.xml doesn't load and work, any thoughts? RE: keyboard.xml and key binding - pr0xZen - 2014-04-21 String was changed from Gotham -> New string would be: Code: <d>ActivateWindow(SubtitleSearch)</d> RE: keyboard.xml and key binding - xarc0n - 2014-04-22 Okey now the keyboard.xml content is this: <keymap> <FullscreenVideo> <keyboard> <d>ActivateWindow(SubtitleSearch)</d> </keyboard> </FullscreenVideo> </keymap> But still it doesn't work, d button does nothing RE: keyboard.xml and key binding - pr0xZen - 2014-04-22 Have you tried adding a button for pause (besides P or spacebar)? If not, try it to test wether the keymap.xml is not loading at all, or the issue is more specific to the SubtitleSearch function. Also, in settings -> input - try toggling the "remote control sends keyboard presses" option and see if it makes a difference. RE: keyboard.xml and key binding - xarc0n - 2014-04-24 I tried this: <keymap> <global> <keyboard> <g>Pause</g> </global> <FullscreenVideo> <d>ActivateWindow(SubtitleSearch)</d> </keyboard> </FullscreenVideo> </keymap> but even the g button does not pause the video. the remote control sends keyboard presses option was already enabled. So it seems like the keyboard.xml doesn't load or I have a error on it. RE: keyboard.xml and key binding - HenryFord - 2014-04-24 You're missing two tags: Code: </global> Code: </keyboard> and Code: <FullscreenVideo> Code: <FullscreenVideo> Please post your debug log so we can get more information if the correct file is loaded. RE: keyboard.xml and key binding - xarc0n - 2014-05-09 I did the alterations to the code, but still not working. The code is now <keymap> <global> <keyboard> <g>Pause</g> </keyboard> </global> <FullscreenVideo> <keyboard> <d>ActivateWindow(SubtitleSearch)</d> </keyboard> </FullscreenVideo> </keymap> Here is the debug log: Debug log RE: keyboard.xml and key binding - HenryFord - 2014-05-09 The file is not being loaded, as it seems: Code: Loading special://xbmc/system/keymaps/keyboard.xml Here is a tut on how to report a bug: http://wiki.xbmc.org/index.php?title=HOW-TO:Submit_a_bug_report In the mean time you could add your code to the predefined keyboard.xml in C:\Path\To\XBMC\system\keymaps\keyboard.xml - that should do the trick for now. RE: keyboard.xml and key binding - xarc0n - 2014-05-09 Doesn't work even in that folder Though I'm no sure if I put the code in the right place RE: keyboard.xml and key binding - xarc0n - 2014-05-13 I installed Gotham and gonna try with it |