]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - keyboard/mbed_onekey/HIDKeyboard.h
Port action_* to mbed
[tmk_firmware.git] / keyboard / mbed_onekey / HIDKeyboard.h
index b00c97b9b0ec448bb4ecc79de6e81fe01a66b926..4ebe610a6379bafa65480a1412720aca96d66888 100644 (file)
@@ -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 {