key logging didnt work for alphanum keys -=_+ and |\ since revision 2 and nobody...
authorCampbell Barton <ideasman42@gmail.com>
Thu, 9 Apr 2009 10:28:14 +0000 (10:28 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 9 Apr 2009 10:28:14 +0000 (10:28 +0000)
source/gameengine/GameLogic/SCA_KeyboardSensor.cpp

index 9a8b68d8db39c3fab19a249d728768138deb46ce..d6ef4af2380d503dfcdbd30a628999282d0386d4 100644 (file)
@@ -463,8 +463,8 @@ char SCA_KeyboardSensor::ToCharacter(int keyIndex, bool shifted)
        }
        
        /* semicolon to rightbracket */
-       char semicolontorightbracket[] = ";\'` /\\=[]";
-       char semicolontorightbracketshifted[] = ":\"~ \?|+{}";
+       char semicolontorightbracket[] = ";\'`/\\=[]";
+       char semicolontorightbracketshifted[] = ":\"~\?|+{}";
        if ((keyIndex >= SCA_IInputDevice::KX_SEMICOLONKEY) 
                && (keyIndex <= SCA_IInputDevice::KX_RIGHTBRACKETKEY)) {
                if (shifted) {