X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboard%2Fmbed_onekey%2FHIDKeyboard.h;h=4ebe610a6379bafa65480a1412720aca96d66888;hb=c67ae2a6b546c822759352586c14cd9dccbbe0ff;hp=b00c97b9b0ec448bb4ecc79de6e81fe01a66b926;hpb=04fe78ee0a7fe9baed39f021799a3dbb24ebeb36;p=tmk_firmware.git diff --git a/keyboard/mbed_onekey/HIDKeyboard.h b/keyboard/mbed_onekey/HIDKeyboard.h index b00c97b..4ebe610 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 {