Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Commit

Permalink
define explicit command and windows keys
Browse files Browse the repository at this point in the history
This helps clarify what the KEY_GUI is as well as allowing the use of
more user friendly names in the json files.
  • Loading branch information
dougcole committed Dec 28, 2014
1 parent d729f60 commit 72004ad
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions usb_keyboard.h
Expand Up @@ -19,10 +19,12 @@ extern volatile uint8_t keyboard_leds;
#define usb_debug_flush_output()


#define KEY_CTRL 0x01
#define KEY_SHIFT 0x02
#define KEY_ALT 0x04
#define KEY_GUI 0x08
#define KEY_CTRL 0x01
#define KEY_SHIFT 0x02
#define KEY_ALT 0x04
#define KEY_GUI 0x08
#define KEY_COMMAND 0x08
#define KEY_WINDOWS 0x08
#define KEY_LEFT_CTRL 0x01
#define KEY_LEFT_SHIFT 0x02
#define KEY_LEFT_ALT 0x04
Expand Down

0 comments on commit 72004ad

Please sign in to comment.