diff options
author | tmk <nobody@nowhere> | 2010-09-24 15:01:21 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-09-24 15:16:23 +0900 |
commit | 1de02c1f15ca1c04aae0bde818b01ea40cf32120 (patch) | |
tree | aa5dc098022e9d45b26a23921b5b9ad6ebc9b2cb /usb_keyboard.h | |
parent | 7fd9003f59ad6a1de8d8b70fae74ba16df666c09 (diff) |
add jump_bootloader.
Diffstat (limited to 'usb_keyboard.h')
-rw-r--r-- | usb_keyboard.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usb_keyboard.h b/usb_keyboard.h index 3a9e51ce4b..cd8ec4a9d1 100644 --- a/usb_keyboard.h +++ b/usb_keyboard.h @@ -10,6 +10,16 @@ #define KEYBOARD_SIZE 8 #define KEYBOARD_BUFFER EP_DOUBLE_BUFFER +// modifier bits +#define MOD_LCTRL (1<<0) +#define MOD_LSHIFT (1<<1) +#define MOD_LALT (1<<2) +#define MOD_LGUI (1<<3) +#define MOD_RCTRL (1<<4) +#define MOD_RSHIFT (1<<5) +#define MOD_RALT (1<<6) +#define MOD_RGUI (1<<7) + extern uint8_t keyboard_modifier_keys; extern uint8_t keyboard_keys[6]; |