aboutsummaryrefslogtreecommitdiff
path: root/backends/wince
diff options
context:
space:
mode:
authorNicolas Bacca2004-05-09 14:54:02 +0000
committerNicolas Bacca2004-05-09 14:54:02 +0000
commit17c58019e1e772c9811862d31e2c2c348589410d (patch)
tree86c654cdbf5784d665497488fb76570bf412e5da /backends/wince
parent659b84633a1f01f8804a12fe2e4b286dfde363c0 (diff)
downloadscummvm-rg350-17c58019e1e772c9811862d31e2c2c348589410d.tar.gz
scummvm-rg350-17c58019e1e772c9811862d31e2c2c348589410d.tar.bz2
scummvm-rg350-17c58019e1e772c9811862d31e2c2c348589410d.zip
Fix key mapping
svn-id: r13826
Diffstat (limited to 'backends/wince')
-rw-r--r--backends/wince/CEKeysDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/wince/CEKeysDialog.cpp b/backends/wince/CEKeysDialog.cpp
index 0130ee0432..53ebceb15b 100644
--- a/backends/wince/CEKeysDialog.cpp
+++ b/backends/wince/CEKeysDialog.cpp
@@ -110,7 +110,7 @@ void CEKeysDialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) {
// GAPI key was selected
char selection[100];
- CEActions::Instance()->setMapping((ActionType)_actionSelected, (ascii & 0xff));
+ CEActions::Instance()->setMapping((ActionType)_actionSelected, ascii);
sprintf(selection, "Associated key : %s", CEDevice::getKeyName(CEActions::Instance()->getMapping((ActionType)_actionSelected)).c_str());
_actionTitle->setLabel("Choose an action to map");