Browse Source

feat(keys): Add LSHIFT and RSHIFT aliases

Using LSHIFT or RSHIFT instead of LSHFT or RSHFT was a common error.
xmkb
Dom H 4 years ago committed by Pete Johanson
parent
commit
4c1a71551b
  1. 2
      app/include/dt-bindings/zmk/keys.h

2
app/include/dt-bindings/zmk/keys.h

@ -768,6 +768,7 @@ @@ -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 @@ @@ -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)

Loading…
Cancel
Save