Import helper constants from KeyboardioHID

Signed-off-by: Jesse Vincent <jesse@keyboard.io>
pull/982/head
Michael Richters 4 years ago committed by Jesse Vincent
parent d7db7c2670
commit 1b2c72431a
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -202,6 +202,13 @@ typedef kaleidoscope::Key Key_;
#define ___ Key_Transparent
#define XXX Key_NoKey
// -----------------------------------------------------------------------------
// Constant keycode values
#define HID_FIRST_KEY HID_KEYBOARD_NO_EVENT
#define HID_LAST_KEY HID_KEYPAD_HEXADECIMAL
#define HID_KEYBOARD_FIRST_MODIFIER HID_KEYBOARD_LEFT_CONTROL
#define HID_KEYBOARD_LAST_MODIFIER HID_KEYBOARD_RIGHT_GUI
#define KEY_BACKLIGHT_DOWN 0xf1
#define KEY_BACKLIGHT_UP 0xf2
#define Key_BacklightDown Key(KEY_BACKLIGHT_DOWN, KEY_FLAGS)

Loading…
Cancel
Save