How to enable Volume Control on Xbox DVD Remote?
#1
How do I go about this, the information scattered around the forum is sketchy at best..

I thought it was going to be as simple editing the Lircmap.xml, but not so!

What i'm trying to achieve is to get volume control back to the '3' and '6' buttons just like on the Xbox.

Can someone please help me, it would be greatly appreciated!

Cheers
Reply
#2
Here http://forum.xbmc.org/showthread.php?tid=58788
Reply
#3
Yeah, read that...

Suggests that I should have a remote.xml. Great but what goes inside it? The Wiki is totally useless with that information.

I understand the reason they removed it, but support should still be left behind for the Xbox remote, it was the Xbox that started all of this...
Reply
#4
Thumbs Up 
I Got It!!! Yay!

So, for all others who are having the same problem, this is what I did (not sure if it was all needed, but works nonetheless)

1) There is NO 'Keymap.xml' anymore. It's now called 'Remote.xml'

I found this little baby here:

Code:
/usr/share/xbmc/system/keymaps/remote.xml

You need to copy this to the Keymaps folder like this:

Code:
sudo cp /usr/share/xbmc/system/keymaps/remote.xml ~/.xbmc/userdata/keymaps/remote.xml

2) Not sure if you need to do this, but, copy the 'Lircmap.xml' like so:

Code:
sudo cp /usr/share/xbmc/system/Lircmap.xml ~/.xbmc/userdata/Lircmap.xml

You now need to edit the 'Remote.xml' file:

Code:
sudo nano ~/.xbmc/userdata/keymaps/remote.xml

You need to change the buttons 3, 6 and 0 as needed throughout the file, just replace the number for the action you wanted. You need to do them all the way through, otherwise the volume control only works in certain areas of XBMC. Here's the general layout, just edit your buttons the same:

Code:
<keymap>
  <global>
    <remote>
      <zero>mute</zero>
      <one>Number1</one>
      <two>JumpSMS2</two>
      <three>volumeup</three>
      <four>JumpSMS4</four>
      <five>JumpSMS5</five>
      <six>volumedown</six>
      <seven>JumpSMS7</seven>
      <eight>JumpSMS8</eight>
      <nine>JumpSMS9</nine>
    </remote>
  </global>

Restart XBMC and you should be good to go!

Big Grin
Reply
#5
This is not really the right way to do it.

First if you did copy the file its owned by root still so:
sudo chown xbmc.xbmc ~/.xbmc/userdata/keymaps/remote.xml

This file should only contain the CHANGES not the entire thing found in usr/share/xbmc.

Alternatively just edit the one in usr/share.
Reply
#6
Ok so in summary all you really need to do is the following.

As user xbmc create this empty file.

Code:
vi ~/.xbmc/userdata/keymaps/remote.xml

and paste in the following. In vi hit "i" first to insert text.

Code:
<keymap>
  <global>
    <remote>
      <three>volumeup</three>
      <six>volumedown</six>
      <nine>mute</nine>
    </remote>
  </global>
  <FullscreenVideo>
    <remote>
      <three>volumeup</three>
      <six>volumedown</six>
      <nine>mute</nine>
    </remote>
  </FullscreenVideo>
  <VideoMenu>
    <remote>
      <three>volumeup</three>
      <six>volumedown</six>
      <nine>mute</nine>
    </remote>
  </VideoMenu>
</keymap>

Hit "ESC", then enter ":wq"

Restart xbmc, you will get some behaviour as in the old xbox days
Reply
#7
Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
How to enable Volume Control on Xbox DVD Remote?0