diff options
| -rw-r--r-- | backends/wince/pocketpc.cpp | 1 | ||||
| -rw-r--r-- | backends/wince/smartphone.cpp | 1 | ||||
| -rw-r--r-- | backends/wince/wince.cpp | 1 | 
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() { | 
