Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

WinRT: made the grave/tilde key work

  • Loading branch information
DavidLudwig committed Jan 23, 2013
1 parent 4337bbe commit 0cca248c89e312045b491633ba89ca6398567d27
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/video/windowsrt/SDL_WinRTApp.cpp
@@ -471,6 +471,7 @@ TranslateKeycode(int keycode)
/* 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;
}

0 comments on commit 0cca248

Please sign in to comment.