diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-11-03 16:54:16 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-11-03 23:50:54 -0500 |
commit | e925319e4ce14b8aaf3515d3f2bea8b9eb287e89 (patch) | |
tree | 9d9061928629033e1e6c366b03778b9f6a595e10 /app/include/dt-bindings/zmk/hid_usage_pages.h | |
parent | 3c0a0ff3087d7c3d522d610227c6fedcec8f27a7 (diff) |
refactor(hid): Replace deprecated HID usage page references
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.
Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.
Closes #217.
Diffstat (limited to 'app/include/dt-bindings/zmk/hid_usage_pages.h')
-rw-r--r-- | app/include/dt-bindings/zmk/hid_usage_pages.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/include/dt-bindings/zmk/hid_usage_pages.h b/app/include/dt-bindings/zmk/hid_usage_pages.h index a551087..701a100 100644 --- a/app/include/dt-bindings/zmk/hid_usage_pages.h +++ b/app/include/dt-bindings/zmk/hid_usage_pages.h @@ -10,6 +10,10 @@ #pragma once +/* WARNING: DEPRECATED from dt-bindings/zmk/keys.h */ +#define USAGE_KEYPAD (0x07) // WARNING: DEPRECATED (DO NOT USE) +#define USAGE_CONSUMER (0x0C) // WARNING: DEPRECATED (DO NOT USE) + #define HID_USAGE_GD (0x01) // Generic Desktop #define HID_USAGE_SIM (0x02) // Simulation Controls #define HID_USAGE_VR (0x03) // VR Controls |