aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/rdwin.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-08-24 13:18:19 +0000
committerJonathan Gray2003-08-24 13:18:19 +0000
commit2c4f688e597613304d2ef0bd1a817fe0ba523522 (patch)
tree521a85914bfeabbdc010e2ef1e61e7be5abdae49 /sword2/driver/rdwin.cpp
parenta8ddcec684125cd2727f1ebed0f54e0325c37fa9 (diff)
downloadscummvm-rg350-2c4f688e597613304d2ef0bd1a817fe0ba523522.tar.gz
scummvm-rg350-2c4f688e597613304d2ef0bd1a817fe0ba523522.tar.bz2
scummvm-rg350-2c4f688e597613304d2ef0bd1a817fe0ba523522.zip
fix strange keyboard issues by passing the game the values it wants
svn-id: r9847
Diffstat (limited to 'sword2/driver/rdwin.cpp')
-rw-r--r--sword2/driver/rdwin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sword2/driver/rdwin.cpp b/sword2/driver/rdwin.cpp
index e795439ea9..7169d26380 100644
--- a/sword2/driver/rdwin.cpp
+++ b/sword2/driver/rdwin.cpp
@@ -160,8 +160,7 @@ void Sword2State::parseEvents() {
if (event.kbd.keycode == 'w')
GrabScreenShot();
}
- WriteKey(event.kbd.keycode);
-
+ WriteKey(event.kbd.ascii);
break;
case OSystem::EVENT_MOUSEMOVE:
mousex = event.mouse.x;