diff options
Diffstat (limited to 'app/include/zmk/hid.h')
-rw-r--r-- | app/include/zmk/hid.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h index 306bc26..1f755aa 100644 --- a/app/include/zmk/hid.h +++ b/app/include/zmk/hid.h @@ -19,7 +19,7 @@ #define ZMK_HID_CONSUMER_NKRO_SIZE 6 -static const u8_t zmk_hid_report_desc[] = { +static const uint8_t zmk_hid_report_desc[] = { /* USAGE_PAGE (Generic Desktop) */ HID_GI_USAGE_PAGE, HID_USAGE_GD, @@ -141,28 +141,28 @@ static const u8_t zmk_hid_report_desc[] = { // struct zmk_hid_boot_report // { -// u8_t modifiers; -// u8_t _unused; -// u8_t keys[6]; +// uint8_t modifiers; +// uint8_t _unused; +// uint8_t keys[6]; // } __packed; struct zmk_hid_keyboard_report_body { zmk_mod_flags modifiers; - u8_t _reserved; - u8_t keys[ZMK_HID_KEYBOARD_NKRO_SIZE]; + uint8_t _reserved; + uint8_t keys[ZMK_HID_KEYBOARD_NKRO_SIZE]; } __packed; struct zmk_hid_keyboard_report { - u8_t report_id; + uint8_t report_id; struct zmk_hid_keyboard_report_body body; } __packed; struct zmk_hid_consumer_report_body { - u16_t keys[ZMK_HID_CONSUMER_NKRO_SIZE]; + uint16_t keys[ZMK_HID_CONSUMER_NKRO_SIZE]; } __packed; struct zmk_hid_consumer_report { - u8_t report_id; + uint8_t report_id; struct zmk_hid_consumer_report_body body; } __packed; |