diff options
author | Max Horn | 2007-06-23 00:05:32 +0000 |
---|---|---|
committer | Max Horn | 2007-06-23 00:05:32 +0000 |
commit | f97cbb8294eb35fbd3af38fbe37ac35a82c64121 (patch) | |
tree | 24c3759ff046655ad439dd8fd51b165bc4a1a25b /backends/platform/wince/CEkeys | |
parent | 05a70fc8e404bd2003e8faa3bc1d4564918eca03 (diff) | |
download | scummvm-rg350-f97cbb8294eb35fbd3af38fbe37ac35a82c64121.tar.gz scummvm-rg350-f97cbb8294eb35fbd3af38fbe37ac35a82c64121.tar.bz2 scummvm-rg350-f97cbb8294eb35fbd3af38fbe37ac35a82c64121.zip |
Update GUI::Key constructs
svn-id: r27643
Diffstat (limited to 'backends/platform/wince/CEkeys')
-rw-r--r-- | backends/platform/wince/CEkeys/EventsBuffer.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/backends/platform/wince/CEkeys/EventsBuffer.cpp b/backends/platform/wince/CEkeys/EventsBuffer.cpp index c8b09f611a..19978c23dc 100644 --- a/backends/platform/wince/CEkeys/EventsBuffer.cpp +++ b/backends/platform/wince/CEkeys/EventsBuffer.cpp @@ -32,10 +32,9 @@ namespace CEKEYS { SDL_Event ev = {0}; if (!key->keycode()) - key->setKeycode(key->ascii()); - - if (!key->ascii()) - key->setAscii(key->keycode()); + key->setKey(key->ascii(), key->ascii()); + else if (!key->ascii()) + key->setKey(key->keycode()); ev.type = (pushed ? SDL_KEYDOWN : SDL_KEYUP); ev.key.keysym.mod = (SDLMod)key->flags(); |