diff options
author | tmk <nobody@nowhere> | 2010-09-16 21:05:15 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-09-16 21:05:15 +0900 |
commit | f777960c7255b469f3daaec89b9808844f13bb88 (patch) | |
tree | f25da595aa030b9556d5a5106ac34f68bb9cadc3 /usbkeycodes.h | |
parent | 82309deefc21f66d92df08b8eecae8466939e04d (diff) |
simple keymap layers.
Diffstat (limited to 'usbkeycodes.h')
-rw-r--r-- | usbkeycodes.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usbkeycodes.h b/usbkeycodes.h index ca2082743f..b0e7058363 100644 --- a/usbkeycodes.h +++ b/usbkeycodes.h @@ -255,11 +255,7 @@ enum keycodes { KP_DECIMAL, KP_HEXADECIMAL, - /* - * These are NOT standard USB HID - handled specially in decoding, - * so they will be mapped to the modifier byte in the USB report. - */ - MOD_START = 0xE0, + /* modifiers */ KB_LCTRL = 0xE0, /* 0x01 */ KB_LSHIFT, /* 0x02 */ KB_LALT, /* 0x04 */ @@ -268,6 +264,12 @@ enum keycodes { KB_RSHIFT, /* 0x20 */ KB_RALT, /* 0x40 */ KB_RGUI, /* 0x80 */ + + /* function keys */ + FN_0 = 0xF0, + FN_1, + FN_2, + FN_3, }; #endif /* USBKEYCODES_H */ |