add missing keys for ghost/sdl
authorCampbell Barton <ideasman42@gmail.com>
Mon, 8 Aug 2011 06:54:07 +0000 (06:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 8 Aug 2011 06:54:07 +0000 (06:54 +0000)
intern/ghost/intern/GHOST_SystemSDL.cpp

index 69a9f936cf693bea950be2b365b5c3b8cdba8567..cd7efba592b469c74c990ec16ac650f6390af8e7 100644 (file)
@@ -167,6 +167,8 @@ convertSDLKey(SDL_Scancode key)
                GXMAP(type,SDL_SCANCODE_APOSTROPHE,     GHOST_kKeyQuote);
                GXMAP(type,SDL_SCANCODE_GRAVE,          GHOST_kKeyAccentGrave);
                GXMAP(type,SDL_SCANCODE_MINUS,          GHOST_kKeyMinus);
+               GXMAP(type,SDL_SCANCODE_EQUALS,         GHOST_kKeyEqual);
+
                GXMAP(type,SDL_SCANCODE_SLASH,          GHOST_kKeySlash);
                GXMAP(type,SDL_SCANCODE_BACKSLASH,      GHOST_kKeyBackslash);
                GXMAP(type,SDL_SCANCODE_KP_EQUALS,      GHOST_kKeyEqual);
@@ -198,6 +200,7 @@ convertSDLKey(SDL_Scancode key)
                GXMAP(type,SDL_SCANCODE_CAPSLOCK,       GHOST_kKeyCapsLock);
                GXMAP(type,SDL_SCANCODE_SCROLLLOCK,     GHOST_kKeyScrollLock);
                GXMAP(type,SDL_SCANCODE_NUMLOCKCLEAR,   GHOST_kKeyNumLock);
+               GXMAP(type,SDL_SCANCODE_PRINTSCREEN,    GHOST_kKeyPrintScreen);
 
                /* keypad events */