2012-11-05, 21:47
Hello there.
I'm in the middle of setting up my first XBMC media center!
I'm using a RC6 MCE Remote (HFX 600)
I've used IR Server Suite, to disable the MCE actions, so I have full control of all the buttons with IR Server Suite. It works flawless most of the time.
HOWEVER.
I've used the Translator app to map the VolumeUp, VolumeDown and VolumeMute to the keystrokes: volume_up, volume_down and volume_mute.
That way, the buttons will control the system volume, which is what I want.
but they also control XBMC volume, which I don't want them to.
SO. the remote sends "VolumeUp", which get translated to "volume_up" so Windows will react, and I'm not sure which of these XBMC reacts to.
I've looked in many of the keymaps files, and used the "noop" technique. This worked perfect with the arrow keys (setting noop in the keymaps to disable the "double keypress")
so far, this is what I have (simplified):
the XBMC debug log file looks like this, when I press VolumeUp > VolumeDown > Mute:
I hope that was enough information, and it isn't to confusing.
Thanks.
Reinhold
EDIT:
Fixed it.. Just had to do the "noop" trick in the IRSSmap..
Don't know how I missed that..
I'm in the middle of setting up my first XBMC media center!
I'm using a RC6 MCE Remote (HFX 600)
I've used IR Server Suite, to disable the MCE actions, so I have full control of all the buttons with IR Server Suite. It works flawless most of the time.
HOWEVER.
I've used the Translator app to map the VolumeUp, VolumeDown and VolumeMute to the keystrokes: volume_up, volume_down and volume_mute.
That way, the buttons will control the system volume, which is what I want.
but they also control XBMC volume, which I don't want them to.
SO. the remote sends "VolumeUp", which get translated to "volume_up" so Windows will react, and I'm not sure which of these XBMC reacts to.
I've looked in many of the keymaps files, and used the "noop" technique. This worked perfect with the arrow keys (setting noop in the keymaps to disable the "double keypress")
so far, this is what I have (simplified):
Code:
IRSS.xml
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<mute>Mute</mute>
Code:
remote.xml
<global>
<remote>
<volumeplus>noop</volumeplus>
<volumeminus>noop</volumeminus>
<mute>noop</mute>
</global>
Code:
keybard.xml
<minus>VolumeDown</minus> (these five buttons shouldn't have anything to do with my remote, should they?)
<plus>VolumeUp</plus>
<equals>VolumeUp</equals>
<numpadminus>VolumeDown</numpadminus>
<numpadplus>VolumeUp</numpadplus>
<volume_mute>noop</volume_mute>
<volume_down>noop</volume_down>
<volume_up>noop</volume_up>
<f10>VolumeUp</f10> <!-- MCE Vol up -->
<f9>VolumeDown</f9> <!-- MCE Vol down --> (pretty shure my remote doesn't send these keystroke)
<f8>Mute</f8> <!-- MCE mute -->
Code:
appcommand.xml
<volume_mute>noop</volume_mute>
<volume_down>noop</volume_down>
<volume_up>noop</volume_up>
the XBMC debug log file looks like this, when I press VolumeUp > VolumeDown > Mute:
Code:
20:43:47 T:1104 INFO: IRServerSuite, RemoteEvent: Abstract VolumeUp
20:43:47 T:1104 DEBUG: SDLKeyboard: scancode: 30, sym: 0062, unicode: 0000, modifier: 0
20:43:47 T:1104 DEBUG: CApplication::OnKey: b (f042) pressed, action is
20:43:47 T:1104 DEBUG: SDLKeyboard: scancode: 39, sym: 0020, unicode: 0020, modifier: 0
20:43:47 T:1104 DEBUG: CApplication::OnKey: space (f020) pressed, action is Pause
20:43:47 T:1104 DEBUG: SDLKeyboard: scancode: 30, sym: 0062, unicode: 0000, modifier: 0
20:43:47 T:1104 DEBUG: CApplication::OnKey: b (f042) pressed, action is
20:43:47 T:1104 DEBUG: CApplication::OnKey: leftctrl (d0) pressed, action is VolumeUp
20:43:47 T:1104 DEBUG: ------ Window Init (DialogVolumeBar.xml) ------
20:43:48 T:1104 INFO: IRServerSuite, RemoteEvent: Abstract VolumeDown
20:43:48 T:1104 DEBUG: SDLKeyboard: scancode: 2e, sym: 0063, unicode: 0000, modifier: 0
20:43:48 T:1104 DEBUG: CApplication::OnKey: c (f043) pressed, action is ContextMenu
20:43:48 T:1104 DEBUG: SDLKeyboard: scancode: 39, sym: 0020, unicode: 0020, modifier: 0
20:43:48 T:1104 DEBUG: CApplication::OnKey: space (f020) pressed, action is Pause
20:43:48 T:1104 DEBUG: SDLKeyboard: scancode: 2e, sym: 0063, unicode: 0000, modifier: 0
20:43:48 T:1104 DEBUG: CApplication::OnKey: c (f043) pressed, action is ContextMenu
20:43:48 T:1104 DEBUG: CApplication::OnKey: rightctrl (d1) pressed, action is VolumeDown
20:43:49 T:1104 INFO: IRServerSuite, RemoteEvent: Abstract Mute
20:43:49 T:1104 DEBUG: SDLKeyboard: scancode: 20, sym: 0064, unicode: 0000, modifier: 0
20:43:49 T:1104 DEBUG: CApplication::OnKey: d (f044) pressed, action is
20:43:49 T:1104 DEBUG: CApplication::OnKey: launch_app1_pc_icon (c0) pressed, action is Mute
20:43:49 T:1104 DEBUG: ------ Window Init (DialogMuteBug.xml) ------
I hope that was enough information, and it isn't to confusing.
Thanks.
Reinhold
EDIT:
Fixed it.. Just had to do the "noop" trick in the IRSSmap..
Code:
<noop>VolumeUp</noop>
<noop>VolumeDown</noop>
<noop>Mute</noop>
Don't know how I missed that..