2011-07-09, 11:49
I use a micocontroller that emulates a keyboard. Attached to the microcontroller is a rotary encoder that sends a - (minus) keypress when it's turned left, and a + keypress when it is turned right. (the + key next to the backspace button)
The goal is to control the volume in XBMC. But right now the - key works, but the + key doesn't.
When I turn the encoder to the right the microcontroller sends this keypress:
I have tried editing the system keyboard.xml like this:
<equals mod="shift">VolumeUp</equals>
But it doesn't work. How can I map this in keyboard.xml ?
The goal is to control the volume in XBMC. But right now the - key works, but the + key doesn't.
When I turn the encoder to the right the microcontroller sends this keypress:
I have tried editing the system keyboard.xml like this:
<equals mod="shift">VolumeUp</equals>
But it doesn't work. How can I map this in keyboard.xml ?