Added missing MEDIAKEY_STOP entry (TRANSPORT_STOP was already present).

f13
Jacob McIntosh 2014-03-14 15:43:17 -05:00
parent 1a38c77ee8
commit 971eb539aa
2 changed files with 4 additions and 2 deletions

View File

@ -22,6 +22,7 @@
*/
static const uint16_t _media_code_lookup_table[] = {
TRANSPORT_PLAY_PAUSE, /* MEDIAKEY_PLAY_PAUSE */
TRANSPORT_STOP, /* MEDIAKEY_STOP */
TRANSPORT_PREV_TRACK, /* MEDIAKEY_PREV_TRACK */
TRANSPORT_NEXT_TRACK, /* MEDIAKEY_NEXT_TRACK */
};

View File

@ -271,8 +271,9 @@
// Media key codes are not real scan codes, they must be translated to a 16
// bit number by the consumer key key function
#define MEDIAKEY_PLAY_PAUSE 0x00
#define MEDIAKEY_PREV_TRACK 0x01
#define MEDIAKEY_NEXT_TRACK 0x02
#define MEDIAKEY_STOP 0x01
#define MEDIAKEY_PREV_TRACK 0x02
#define MEDIAKEY_NEXT_TRACK 0x03
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------