Disable the unicode for SDL2 key events.

The values are wrong so disable them for now.
This commit is contained in:
Mark de Wever 2014-05-29 10:51:02 +02:00
parent 81debc2fdb
commit b3403e29e8

View File

@ -714,7 +714,7 @@ void thandler::key_down(const SDL_KeyboardEvent& event)
#if SDL_VERSION_ATLEAST(2, 0, 0)
key_down(event.keysym.sym,
static_cast<const SDL_Keymod>(event.keysym.mod),
static_cast<const Uint16>(event.keysym.scancode));
0);
#else
key_down(event.keysym.sym, event.keysym.mod, event.keysym.unicode);
#endif