From b6e63683d48d14af07da34ed60cc2389f26ea64a Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Tue, 10 Nov 2020 10:28:06 +0000 Subject: [PATCH] refactor(hid): Replace modifier usage values with their cpp definitions Improves readability of the HID reports. --- app/include/zmk/hid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h index 63cdf3b8..3f3833f5 100644 --- a/app/include/zmk/hid.h +++ b/app/include/zmk/hid.h @@ -37,10 +37,10 @@ static const u8_t zmk_hid_report_desc[] = { HID_USAGE_KEY, /* USAGE_MINIMUM (Keyboard LeftControl) */ HID_LI_USAGE_MIN(1), - 0xE0, + HID_USAGE_KEY_KEYBOARD_LEFTCONTROL, /* USAGE_MAXIMUM (Keyboard Right GUI) */ HID_LI_USAGE_MAX(1), - 0xE7, + HID_USAGE_KEY_KEYBOARD_RIGHT_GUI, /* LOGICAL_MINIMUM (0) */ HID_GI_LOGICAL_MIN(1), 0x00,