diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2017-05-25 22:46:01 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-05-25 22:46:01 +0100 |
commit | de1f8661e0900c6794279e758a141e31d8b506ae (patch) | |
tree | 8c46ba4248950e0fac7a2c51c827c2da9b31061a /usb | |
parent | 11779f9588d2f3f954558d80ab30e187451129b0 (diff) | |
download | fmk-de1f8661e0900c6794279e758a141e31d8b506ae.tar.gz fmk-de1f8661e0900c6794279e758a141e31d8b506ae.tar.xz fmk-de1f8661e0900c6794279e758a141e31d8b506ae.zip |
Implement support for keyboard layers
Diffstat (limited to 'usb')
-rw-r--r-- | usb/keycodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |