WinRT: made the grave/tilde key work
authorDavid Ludwig <dludwig@pobox.com>
Wed, 23 Jan 2013 09:51:04 -0500
changeset 8394 a7ce6d2c7c9b
parent 8393 1e602670ab25
child 8395 de18fac84811
WinRT: made the grave/tilde key work
src/video/windowsrt/SDL_WinRTApp.cpp
--- a/src/video/windowsrt/SDL_WinRTApp.cpp	Wed Jan 23 09:09:23 2013 -0500
+++ b/src/video/windowsrt/SDL_WinRTApp.cpp	Wed Jan 23 09:51:04 2013 -0500
@@ -471,6 +471,7 @@
         /* Set up a table of undocumented (by Microsoft), WinRT-specific,
            key codes: */
         // TODO, WinRT: move content declarations of WinRT_Unofficial_Keycodes into a C++11 initializer list, when possible
+        WinRT_Unofficial_Keycodes[220] = SDL_SCANCODE_GRAVE;
         WinRT_Unofficial_Keycodes[222] = SDL_SCANCODE_BACKSLASH;
     }