Added missing MEDIAKEY_STOP entry (TRANSPORT_STOP was already present).
parent
1a38c77ee8
commit
971eb539aa
|
@ -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 */
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// ----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue