From de1f8661e0900c6794279e758a141e31d8b506ae Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 25 May 2017 22:46:01 +0100 Subject: Implement support for keyboard layers --- usb/keycodes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usb') diff --git a/usb/keycodes.h b/usb/keycodes.h index b1eec72..e43ae26 100644 --- a/usb/keycodes.h +++ b/usb/keycodes.h @@ -218,6 +218,8 @@ enum keycode { KEY_RSHIFT, KEY_RALT, KEY_RGUI, + KEY_LAYER0 = 0xf00, + KEY_LAYER1, }; _Static_assert(KEY_EXSEL == 0xa4, "Keycodes enum is broken"); _Static_assert(KEY_KP_HEX == 0xdd, "Keycodes enum is broken"); -- cgit v1.2.3-54-g00ecf