aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/CEkeys
diff options
context:
space:
mode:
authorKostas Nakos2008-08-13 19:13:53 +0000
committerKostas Nakos2008-08-13 19:13:53 +0000
commit5a54dc61a43a7f911a2ef230da9258e3b41fd691 (patch)
treed0421cdc094d92eea0c2636f5ac2d11172d41d21 /backends/platform/wince/CEkeys
parent0f95bb9fd516ad9d61f9d8ccc492cdb1c69cfc87 (diff)
downloadscummvm-rg350-5a54dc61a43a7f911a2ef230da9258e3b41fd691.tar.gz
scummvm-rg350-5a54dc61a43a7f911a2ef230da9258e3b41fd691.tar.bz2
scummvm-rg350-5a54dc61a43a7f911a2ef230da9258e3b41fd691.zip
fix bug #1910057: FT multifunction
svn-id: r33839
Diffstat (limited to 'backends/platform/wince/CEkeys')
-rw-r--r--backends/platform/wince/CEkeys/EventsBuffer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/platform/wince/CEkeys/EventsBuffer.cpp b/backends/platform/wince/CEkeys/EventsBuffer.cpp
index 92a21ab7ad..f31a77570f 100644
--- a/backends/platform/wince/CEkeys/EventsBuffer.cpp
+++ b/backends/platform/wince/CEkeys/EventsBuffer.cpp
@@ -36,9 +36,8 @@ namespace CEKEYS {
key->setKey(key->keycode());
ev.type = (pushed ? SDL_KEYDOWN : SDL_KEYUP);
- ev.key.keysym.mod = (SDLMod)key->flags();
+ ev.key.keysym.unicode = (SDLMod)key->flags(); // HACK: put the flags into the unused unicode field
ev.key.keysym.sym = (SDLKey)key->keycode();
- ev.key.keysym.unicode = key->keycode();
ev.key.keysym.mod = KMOD_RESERVED;
return (SDL_PushEvent(&ev) == 0);
}