Keys reassignment
#1
I am trying to change a few keys used in xbmc with other but I have difficulties...

I have created the xml file which was placed in /userdata/keymaps with the following entries

<keymap>
<global>
<keyboard>
<pagedown>stepforward</pagedown>
<pageup>stepback</pageup>
<f>fastforward</f>
<r>rewind</r>
<o>stop</o>
<l>audionextlanguage</l>
<m mod="ctrl">showvideomenu</m>
<d mod="ctrl">contextmenu</d>
<s>nextsubtitle</s>
</keyboard>
</global>
</keymap>


I just want to perform the following

O Stop
F Play Forward
R Play Backward
Page Up Previous Chapter
Page Down Next Chapter
L Change Language
S Change Subtitles
Ctrl+M Jump to Movie Menu
Ctrl+D Jump to the top of the menu menu

The only change that work are the f & r buttons. L & S do the same thing i.e. change the subtitles language. L is supposed to chage the audio language.
Please help.
Reply
#2
F and r are already default you don't need to add that

http://wiki.xbmc.org/index.php?title=Action_IDs

Don't use global for everything S is showdown menu change the global to <FullscreenVideo>
And make sure your spell is correct
Reply
#3
(2014-01-02, 20:45)warlion Wrote: F and r are already default you don't need to add that

http://wiki.xbmc.org/index.php?title=Action_IDs

Don't use global for everything S is showdown menu change the global to <FullscreenVideo>
And make sure your spell is correct

Can you please show me an example of the action ids I need? What action ids correspond to the features I need?
Reply
#4
Ej.


Code:
<keymaps>
      <FullscreenVideo>
             <s>NextSubtitle</s>
             <l>AudioNextLanguage</l>
      </FullscreenVideo>
</keymaps>
Reply
#5
(2014-01-02, 21:27)warlion Wrote: Ej.


Code:
<keymaps>
      <FullscreenVideo>
             <s>NextSubtitle</s>
             <l>AudioNextLanguage</l>
      </FullscreenVideo>
</keymaps>

I have used just this one
<keymap>
<FullscreenVideo>
<o>Stop</o>
</FullscreenVideo>
</keymap>

But the video playback still stops with the x button and the o button displays the cpu info/codec.
Reply
#6
You need to assign the x to something else or you will keep the original configuration

Go to c:/program files (86)/xbmc/system/keyboard.xml
and copy that file to your userdata and edit all you need
Reply
#7
(2014-01-03, 00:07)warlion Wrote: You need to assign the x to something else or you will keep the original configuration

Go to c:/program files (86)/xbmc/system/keyboard.xml
and copy that file to your userdata and edit all you need

I have managed to to the key assignment but only by editing the keyboard.xml which is in the xbmc folder and not by adding keyboard.xml in the user/appdata and so on folder.
All the thread were suggesting to add a new keyboard.xml file. This did not work. I do not know what I was doing wrong.
Reply
#8
No you don't need to edit the original file you miss a few places copy that file you edit to your userdata and restore the original in the system folder of xbmc
Reply
#9
(2014-01-04, 20:36)warlion Wrote: No you don't need to edit the original file you miss a few places copy that file you edit to your userdata and restore the original in the system folder of xbmc

I have put the original in the original place and the edited one in

C:\Users\username\AppData\Roaming\XBMC\userdata\keymaps

It does not work. Do have to put the edited one somewhere else??
Reply
#10
(2014-01-02, 23:37)03397 Wrote:
(2014-01-02, 21:27)warlion Wrote: Ej.


Code:
<keymaps>
      <FullscreenVideo>
             <s>NextSubtitle</s>
             <l>AudioNextLanguage</l>
      </FullscreenVideo>
</keymaps>

I have used just this one
<keymap>
<FullscreenVideo>
<o>Stop</o>
</FullscreenVideo>
</keymap>

But the video playback still stops with the x button and the o button displays the cpu info/codec.

You have missed out a level of XML (<keyboard>), you should have

Code:
<keymap>
      <FullscreenVideo>
           <keyboard>
             <o>Stop</o>
           </keyboard>
      </FullscreenVideo>
</keymap>
DEBUG log: http://kodi.wiki/view/Log_file/Easy
HTPC advice: http://mymediaexperience.com , http://lifehacker.com/5828747/how-to-bui...lete-guide
My HTPC: an Acer Revo RL80 Nettop PC:
Windows 10
Intel Core-i3-2377M @ 1.5GHz, 4GB DDR3 @ 665MHz, Intel HD3000
465GB SATA disk, DVD-RW, 1.8TB Seagate USB disk


Reply

Logout Mark Read Team Forum Stats Members Help
Keys reassignment0