Skip to content

Commit

Permalink
Added KEY_AUDIO and exit from the video player.
Browse files Browse the repository at this point in the history
  • Loading branch information
cougar-enigma committed May 24, 2011
1 parent 8c1b13f commit d6b8341
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions data/keymap.xml
Expand Up @@ -211,6 +211,9 @@
<device name="dreambox advanced remote control (native)">
<key id="KEY_YELLOW" mapto="audioSelection" flags="b" />
</device>
<device name="Xlib">
<key id="KEY_AUDIO" mapto="audioSelection" flags="m" />
</device>
</map>

<map context="InfobarSubserviceSelectionActions">
Expand Down Expand Up @@ -407,6 +410,10 @@
<device name="dreambox ir keyboard">
<key id="KEY_STOP" mapto="leavePlayer" flags="m" />
</device>
<device name="Xlib">
<key id="KEY_TV" mapto="leavePlayer" flags="m" />
<key id="KEY_STOP" mapto="leavePlayer" flags="m" />
</device>
</map>

<map context="InfobarCueSheetActions">
Expand Down
3 changes: 3 additions & 0 deletions lib/driver/rcxlib.cpp
Expand Up @@ -122,6 +122,9 @@ int eXlibInputDevice::translateKey(int key)
case 36:
return KEY_OK;

case 38: // A
return KEY_AUDIO;

case 55: // V
return KEY_VIDEO;

Expand Down

0 comments on commit d6b8341

Please sign in to comment.