diff options
author | tmk <nobody@nowhere> | 2014-06-17 00:57:59 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-07-30 14:07:43 +0900 |
commit | c67ae2a6b546c822759352586c14cd9dccbbe0ff (patch) | |
tree | ab77175c64bfce74d2662260b9cdb2af8d8a7efd /keyboard/mbed_onekey/HIDKeyboard.h | |
parent | 04fe78ee0a7fe9baed39f021799a3dbb24ebeb36 (diff) | |
download | qmk_firmware-c67ae2a6b546c822759352586c14cd9dccbbe0ff.tar.gz |
Port action_* to mbed
Diffstat (limited to 'keyboard/mbed_onekey/HIDKeyboard.h')
-rw-r--r-- | keyboard/mbed_onekey/HIDKeyboard.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/keyboard/mbed_onekey/HIDKeyboard.h b/keyboard/mbed_onekey/HIDKeyboard.h index b00c97b9b..4ebe610a6 100644 --- a/keyboard/mbed_onekey/HIDKeyboard.h +++ b/keyboard/mbed_onekey/HIDKeyboard.h @@ -3,16 +3,7 @@ #include "stdint.h" #include "stdbool.h" #include "USBHID.h" - - -typedef union { - uint8_t raw[8]; - struct { - uint8_t mods; - uint8_t reserved; - uint8_t keys[6]; - }; -} __attribute__ ((packed)) report_keyboard_t; +#include "report.h" class HIDKeyboard : public USBDevice { |