From 727fff2ac9f8f172e63ff42a54b797031a557a89 Mon Sep 17 00:00:00 2001 From: "syed.amer@gilani.eu" Date: Wed, 2 Dec 2009 16:10:48 +0000 Subject: [PATCH] Swapped command and alt/option key mapping for OSX. Issue #289. Thanks to richard.moats for the Patch --- lib/platform/COSXKeyState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/platform/COSXKeyState.cpp b/lib/platform/COSXKeyState.cpp index b9d48e20..eaeaa163 100644 --- a/lib/platform/COSXKeyState.cpp +++ b/lib/platform/COSXKeyState.cpp @@ -29,8 +29,8 @@ // different KeyIDs to a single key code. static const UInt32 s_shiftVK = 56; static const UInt32 s_controlVK = 59; -static const UInt32 s_altVK = 55; -static const UInt32 s_superVK = 58; +static const UInt32 s_altVK = 58; +static const UInt32 s_superVK = 55; static const UInt32 s_capsLockVK = 57; static const UInt32 s_numLockVK = 71; static const UInt32 s_osxNumLock = 1 << 16;