aboutsummaryrefslogtreecommitdiff
path: root/backends/wince
diff options
context:
space:
mode:
authorNicolas Bacca2003-07-20 23:47:39 +0000
committerNicolas Bacca2003-07-20 23:47:39 +0000
commit6a8078b2fbccbf019e4789346122c4d6b5e6bdb3 (patch)
treee05952e54a53194113a7e631080da75fb54168bc /backends/wince
parentd62959bfd9ff787055f8e7e829f354bf11694fbe (diff)
downloadscummvm-rg350-6a8078b2fbccbf019e4789346122c4d6b5e6bdb3.tar.gz
scummvm-rg350-6a8078b2fbccbf019e4789346122c4d6b5e6bdb3.tar.bz2
scummvm-rg350-6a8078b2fbccbf019e4789346122c4d6b5e6bdb3.zip
Bass skip fix
svn-id: r9101
Diffstat (limited to 'backends/wince')
-rw-r--r--backends/wince/pocketpc.cpp1
-rw-r--r--backends/wince/smartphone.cpp1
-rw-r--r--backends/wince/wince.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/backends/wince/pocketpc.cpp b/backends/wince/pocketpc.cpp
index cf000527f8..2676d62714 100644
--- a/backends/wince/pocketpc.cpp
+++ b/backends/wince/pocketpc.cpp
@@ -254,6 +254,7 @@ BOOL PPCWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, OSystem_W
wm->_event.event_code = OSystem::EVENT_KEYDOWN;
if (is_simon || is_bass) {
wm->_event.kbd.ascii = mapKey(VK_ESCAPE);
+ wm->_event.kbd.keycode = mapKey(VK_ESCAPE);
break;
}
/*
diff --git a/backends/wince/smartphone.cpp b/backends/wince/smartphone.cpp
index 2402f6b5d4..407f446ad1 100644
--- a/backends/wince/smartphone.cpp
+++ b/backends/wince/smartphone.cpp
@@ -340,6 +340,7 @@ void SmartfonSkip(OSystem_WINCE3 *wm, int repeat) {
wm->_event.event_code = OSystem::EVENT_KEYDOWN;
if (is_simon || is_bass) {
wm->_event.kbd.ascii = VK_ESCAPE;
+ wm->_event.kbd.keycode = VK_ESCAPE;
return;
}
/*
diff --git a/backends/wince/wince.cpp b/backends/wince/wince.cpp
index d90797d4d8..100a339ba4 100644
--- a/backends/wince/wince.cpp
+++ b/backends/wince/wince.cpp
@@ -1116,6 +1116,7 @@ void save_key_mapping() {
void OSystem_WINCE3::addEventKeyPressed(int ascii_code) {
_event.event_code = EVENT_KEYDOWN;
_event.kbd.ascii = ascii_code;
+ _event.kbd.keycode = ascii_code;
}
void OSystem_WINCE3::addEventRightButtonClicked() {