Skip to content

Commit

Permalink
COMMON: Add a KBD_META key state flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Apr 9, 2012
1 parent 5dfa433 commit f58d834
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions common/keyboard.h
Expand Up @@ -224,12 +224,13 @@ enum {
KBD_CTRL = 1 << 0,
KBD_ALT = 1 << 1,
KBD_SHIFT = 1 << 2,
KBD_NON_STICKY = (KBD_CTRL|KBD_ALT|KBD_SHIFT),
KBD_META = 1 << 3,
KBD_NON_STICKY = (KBD_CTRL|KBD_ALT|KBD_SHIFT|KBD_META),

// Sticky modifier flags
KBD_NUM = 1 << 3,
KBD_CAPS = 1 << 4,
KBD_SCRL = 1 << 5,
KBD_NUM = 1 << 4,
KBD_CAPS = 1 << 5,
KBD_SCRL = 1 << 6,
KBD_STICKY = (KBD_NUM|KBD_CAPS|KBD_SCRL)

};
Expand Down

0 comments on commit f58d834

Please sign in to comment.