[Solved][Linux] Two actions, one remote control key
#1
Hi, I have a remote control with one button to do Right and VolumeUp, one to do Left and VolumeDown, ecc.
How to set two actions in the same button?
For example on the menu the button should do left, on playing the button should do volumedown.
With lirc the remote control with only one actions per key works.
Reply
#2
Map the button actions to specific windows, eg left right as global and volume only for full screen video.

http://wiki.xbmc.org/index.php?title=Keymap
Reply
#3
Thanks, the I shiuld use <global> for normal keys and one of this NAME: ( http://wiki.xbmc.org/index.php?title=Window_IDs ) for the second function?
Reply
#4
Yes, the second function will override <global> for that specific window.
Reply
#5
You dont need the window ID

Just assign the same name as the actual volume keys in global and full screen video.

example:

<global>
<remote>
<left>Left</left>
<right>Right</right>
</remote>
</global>

<FullscreenVideo>
<remote>
<left>VolumeDown</left>
<right>VolumeUp</right>
</remote>
</FullscreenVideo>
Reply
#6
Ok, thanks!
Indeed, <FullscreenVideo> is the window id Wink as teeedubb said Wink
Bye.
Reply
#7
(2014-02-01, 15:37)d592549 Wrote: Ok, thanks!
Indeed, <FullscreenVideo> is the window id Wink as teeedubb said Wink
Bye.

Not to nitpit but <FullscreenVideo> is not the Window ID.

I was trying to offer some clarity to the term you used.
You dont need to lookup the window id.
Just change the desired action under <FullscreenVideo>
Reply
#8
Ok, thanks, but there is a way to see the actual window id in xbmc?
Reply

Logout Mark Read Team Forum Stats Members Help
[Solved][Linux] Two actions, one remote control key0