diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-11-10 10:28:06 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-11-20 22:26:42 -0500 |
commit | b6e63683d48d14af07da34ed60cc2389f26ea64a (patch) | |
tree | 77c9e4e996194dd710ac6372205a2250cee84b45 | |
parent | 67a6646cd76d3db43734d2be990f6fdf9fb204b3 (diff) |
refactor(hid): Replace modifier usage values with their cpp definitions
Improves readability of the HID reports.
-rw-r--r-- | app/include/zmk/hid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h index 63cdf3b..3f3833f 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, |