Red : PVR
Green : Videos
Yellow : Music
Blue : Pictures
I haven't got a PVR connected to the Pi so I figured I could reuse the Red button to swap in and out of fullscreen mode.
A quick web search showed that the key mappings are stored in the file :
/opt/xbmc-bcm/xbmc-bin/share/xbmc/system/keymaps/remote.xml
Loading this into nano and searching for "red" (without quotation marks) showed the following lines of code :
<red>XBMC.ActivateWindow(MyPVR)</red>
<green>XBMC.ActivateWindow(MyVideos)</green>
<yellow>XBMC.ActivateWindow(MyMusic)</yellow>
<blue>XBMC.ActivateWindow(MyPictures)</blue>
I then changed the <red> line to :
<red>FullScreen</red>
I also wanted to change the fastforward and rewind buttons to skip forward and back in the tracklist so I made the following changes :
<forward>FastForward</forward>
<reverse>Rewind</reverse>
To :
<forward>SkipNext</forward>
<reverse>SkipPrevious</reverse>
I then saved the file and after a quick reboot everything worked as required.
I will update this post with new hints and tips as I find them.
Finally, if you have found this solution useful then please do hit the Google (+1) button so that others may be able to find it as well.
If you have found this solution useful then please do hit the Google (+1) button so that others may be able to find it as well.
Numerix-DSP Libraries : http://www.numerix-dsp.com/eval/
Copyright © 2013 Delta Numerix
No comments:
Post a Comment