Use consumer keycodes for media keys so they work across platforms and not only on Linux.

This commit is contained in:
László Monda
2017-03-04 03:40:50 +01:00
parent bc0715c63d
commit 117332bb67
3 changed files with 18 additions and 35 deletions

View File

@@ -62,7 +62,7 @@ typedef struct {
keystroke_type_t keystrokeType;
uint8_t longPressAction;
uint8_t modifiers;
uint8_t scancode;
uint16_t scancode;
} __attribute__ ((packed)) keystroke;
struct {
uint8_t buttonActions;