2014-02-12, 15:17
Regarding the issue where the remote volume keys don't repeat, which is apparently an OS-level bug as XBMC doesn't do the repeating itself but relies on the OS to handle this, I wonder if this workaround for Ubuntu can be used with OE? I'm not sure if my Emprex remote uses those keycodes though and lircmap.xml shows:
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
http://trac.xbmc.org/ticket/14116#comment:19
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
http://trac.xbmc.org/ticket/14116#comment:19
Code:
I had a similar problem with a Microsoft MCE remote clone on Ubuntu 12.04 and XBMC 12.3. For anyone who's interested, a simple workaround is to redefine the remote's volume up and down buttons using xmodmap, and then change XBMC's keymaps accordingly. For example, enter the following in ~/.Xmodmap:
keycode 122 = F13
keycode 123 = F14
and the following in ~/.xbmc/userdata/keymaps/keyboard.xml:
<keymap>
<global>
<keyboard>
<f13>VolumeDown</f13>
<f14>VolumeUp</f14>
</keyboard>
</global>
</keymap>