Skip to content

Commit

Permalink
add some missing multi media keys
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Oct 28, 2013
1 parent 963da8a commit 3e8fa2b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/keymaps/keyboard.xml
Expand Up @@ -119,6 +119,9 @@
<prev_track>SkipPrevious</prev_track>
<stop>Stop</stop>
<play_pause>Pause</play_pause>
<fastforward>FastForward</fastforward>
<rewind>Rewind</rewind>
<record/>
<launch_mail></launch_mail>
<launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
<launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
Expand Down
4 changes: 4 additions & 0 deletions xbmc/input/XBMC_keytable.cpp
Expand Up @@ -181,6 +181,10 @@ static const XBMCKEYTABLE XBMCKeyTable[] =
, { XBMCK_LAUNCH_MEDIA_CENTER, 0, 0, XBMCVK_LAUNCH_MEDIA_CENTER, "launch_media_center" }
, { XBMCK_PLAY, 0, 0, XBMCVK_MEDIA_PLAY_PAUSE, "play_pause" }
, { XBMCK_STOP, 0, 0, XBMCVK_MEDIA_STOP, "stop" }
, { XBMCK_REWIND, 0, 0, XBMCVK_MEDIA_REWIND, "rewind" }
, { XBMCK_FASTFORWARD, 0, 0, XBMCVK_MEDIA_FASTFORWARD, "fastforward" }
, { XBMCK_RECORD, 0, 0, XBMCVK_MEDIA_RECORD, "record" }


// Function keys
, { XBMCK_F1, 0, 0, XBMCVK_F1, "f1"}
Expand Down
3 changes: 3 additions & 0 deletions xbmc/input/XBMC_vkeys.h
Expand Up @@ -188,6 +188,9 @@ typedef enum {
XBMCVK_LAUNCH_APP2 = 0xC1,
XBMCVK_LAUNCH_FILE_BROWSER = 0xC2,
XBMCVK_LAUNCH_MEDIA_CENTER = 0xC3,
XBMCVK_MEDIA_RECORD = 0xC4,
XBMCVK_MEDIA_REWIND = 0xC5,
XBMCVK_MEDIA_FASTFORWARD = 0xC6,

XBMCVK_LCONTROL = 0xD0,
XBMCVK_RCONTROL = 0xD1,
Expand Down

0 comments on commit 3e8fa2b

Please sign in to comment.