koying / SPMC

fork of xbmc/kodi
Other
634 stars 257 forks source link

Where is keyboard.xml #482

Open DaMacFunkin opened 7 years ago

DaMacFunkin commented 7 years ago

Hello when I press the back button on shield remote it stops the movie, instead of overlaying the menu. I believe I need to edit the keyboard.xml file, but I can't find it, my key map folder is empty.

mjbxx commented 7 years ago

This is by design as the stock default keymap is built into SPMC/Kodi. Just go ahead and create a keyboard .xml file and place it into the keyboard folder in Userdata. I use Notepad++ to create and edit .xml files. Be sure to restart SPMC/Kodi to ensure the changes take affect.

DaMacFunkin commented 7 years ago

Oh sorry, i had read this thread https://github.com/koying/SPMC/issues/189 where it says remove the following lines from keyboard.xml, Stop Stop How do i remove the line if it isn't there to start of with?

mjbxx commented 7 years ago

You literally have to create a new keyboard.xml and place it in the keyboard folder. Alternatively, you can try using the Keymap Editor program addon in Kodi to make changes. Can't help you with that as I've never used the editor.

unlocKing commented 7 years ago

I modified the Fire TV keyboard.xml so back key DOES NOT STOP:

`<?xml version="1.0" encoding="UTF-8"?>

PageUp PageDown XBMC.ActivateWindow(Favourites) ShowSubtitles PreviousMenu PreviousMenu Rewind FastForward CodecInfo Highlight shift enter backspace number0 PreviousMenu PreviousMenu Fullscreen close Close Close Close Close Close PreviousMenu ` I just realised I posted the wrong xml before, corrected now.. save as keyboard.xml