diff options
author | Dom H <dom@hxy.io> | 2021-05-06 21:42:03 +0100 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-06-08 20:57:40 -0400 |
commit | 4c1a71551b8b1dae46442e3d46c3c13b0ecbd03c (patch) | |
tree | 2293b500db5b66a123908b1991bb8d8fe5110d25 /app | |
parent | bb3200547440e6b3b976ef738745cdcfff599bfd (diff) |
feat(keys): Add LSHIFT and RSHIFT aliases
Using LSHIFT or RSHIFT instead of LSHFT or RSHFT was a common error.
Diffstat (limited to 'app')
-rw-r--r-- | app/include/dt-bindings/zmk/keys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/include/dt-bindings/zmk/keys.h b/app/include/dt-bindings/zmk/keys.h index 8d0873c..915f2d3 100644 --- a/app/include/dt-bindings/zmk/keys.h +++ b/app/include/dt-bindings/zmk/keys.h @@ -768,6 +768,7 @@ /* Keyboard Left Shift */ #define LEFT_SHIFT (HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_LEFTSHIFT)) +#define LSHIFT (LEFT_SHIFT) #define LSHFT (LEFT_SHIFT) #define LSFT (LEFT_SHIFT) // WARNING: DEPRECATED (DO NOT USE) @@ -792,6 +793,7 @@ /* Keyboard Right Shift */ #define RIGHT_SHIFT (HID_USAGE(HID_USAGE_KEY, HID_USAGE_KEY_KEYBOARD_RIGHTSHIFT)) +#define RSHIFT (RIGHT_SHIFT) #define RSHFT (RIGHT_SHIFT) #define RSFT (RIGHT_SHIFT) // WARNING: DEPRECATED (DO NOT USE) |