Alright, I finally have a better grip on how the keymapping works. I haven't found a solution for the ffwd issue, seems the only options are SmallStepForward for 7 sec, StepForward for 30 sec and BigStepForward for 10min.
Here's a quick tutorial on how the to map different functions to your remote:
So in your ~/.boxee/UserData directory there are 2 files.
Lircmap.xml and
Keymap.xml. Both of these look similar but perform different functions. If you do not have
Keymap.xml in your directory(it wasn't there for me) you can copy it from /opt/boxee/system/. You can also grab
Lircmap.xml from here if it's missing from your home directory.
The purpose of
Lircmap.xml is to map you buttons to the sections in
Keymap.xml. To get the value of your buttons start up a terminal session and start the program
irw. Then start hitting the buttons on your remote. It will give you the value. So when I pressed the button to increase the volume it outputted: VolUp. Let's say we wanted to map VolUp to the pause button. Seems stupid but here is how you would do it:
Lircmap.xml (just a snippet)
------------------------
Code:
<lircmap>
<remote device="mceusb">
<pause>VolUp</pause>
<stop>Stop</stop>
...
</remote>
</lircmap>
What happens is that VolUp is now mapped to the pause section in
Keymap.xml. The value for pause in
Keymap.xml is the function to perform, in the below case it would call the "Pause" function. You can find a full list by looking at
Keymap.xml or by visiting
http://xbmc.org/wiki/?title=Keymap.xml for more detailed descriptions of what the functions do.
Keymap.xml (small snippet)
------------------------
Code:
<lircmap>
<global>
<remote>
<pause>Pause</pause>
<stop>Stop</stop>
...
</remote>
</global>
<FullScreenVideo>
<remote>
<pause>Pause</pause>
<stop>Pause</stop>
...
</remote>
</FullScreenVideo>
<Home>
...
</Home>
...
</lircmap>
As you can see above the
Keymap.xml is broken up into sections. This is so you can make the keys perform different functions for different sections. So the Play button could do something entirely different in the
FullScreenVideo section, then in the
Home section. The
global section provides default values for all sections. The sections can than override those values with their own. In the above example the global default for the stop button is to stop the video. But I have changed it when you are watching a video in fullscreen to actually pause the video.
So if you want to change values for particular sections in Boxee you should edit your Keymap.xml file in your ~/.boxee/UserData/ directory.
Hopefully that makes it clear for other people. If you have any questions feel free to ask.
Bookmarks