Swapped command and alt/option key mapping for OSX. Issue #289.

Thanks to richard.moats for the Patch
This commit is contained in:
syed.amer@gilani.eu 2009-12-02 16:10:48 +00:00
parent d8129f6eca
commit 727fff2ac9
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@
// different KeyIDs to a single key code. // different KeyIDs to a single key code.
static const UInt32 s_shiftVK = 56; static const UInt32 s_shiftVK = 56;
static const UInt32 s_controlVK = 59; static const UInt32 s_controlVK = 59;
static const UInt32 s_altVK = 55; static const UInt32 s_altVK = 58;
static const UInt32 s_superVK = 58; static const UInt32 s_superVK = 55;
static const UInt32 s_capsLockVK = 57; static const UInt32 s_capsLockVK = 57;
static const UInt32 s_numLockVK = 71; static const UInt32 s_numLockVK = 71;
static const UInt32 s_osxNumLock = 1 << 16; static const UInt32 s_osxNumLock = 1 << 16;