mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-20 23:14:27 +00:00
Disable the unicode for SDL2 key events.
The values are wrong so disable them for now.
This commit is contained in:
parent
81debc2fdb
commit
b3403e29e8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user