Permalink
Browse files

command key can be used instead of ctrl on OS X

  • Loading branch information...
jacob1 committed Aug 24, 2014
1 parent d29c2cb commit a3d594c603849a9a1345870ff11577ccc75d357d
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/interface/Keys.h
@@ -53,7 +53,11 @@
#define KEY_MOD_MODE KMOD_MODE
#define KEY_MOD_RESERVED KMOD_RESERVED
#ifdef MACOSX
#define KEY_MOD_CONTROL (KEY_MOD_RCONTROL | KEY_MOD_LCONTROL | KEY_MOD_LMETA | KEY_MOD_RMETA)
#else
#define KEY_MOD_CONTROL (KEY_MOD_RCONTROL | KEY_MOD_LCONTROL)
#endif
#define KEY_MOD_ALT (KEY_MOD_RALT | KEY_MOD_LALT)
#define KEY_MOD_SHIFT (KEY_MOD_RSHIFT | KEY_MOD_LSHIFT)

0 comments on commit a3d594c

Please sign in to comment.