aboutsummaryrefslogtreecommitdiff
path: root/common/keyboard.h
diff options
context:
space:
mode:
authorJody Northup2009-08-14 08:11:18 +0000
committerJody Northup2009-08-14 08:11:18 +0000
commit44e79803648ba7704e97031752506ad42176990d (patch)
treeee66857a57124de13f2d30c2d40a42e16f20343d /common/keyboard.h
parent7d9890ff2efb7547a4e141ccb7885f8b0b96f4c9 (diff)
downloadscummvm-rg350-44e79803648ba7704e97031752506ad42176990d.tar.gz
scummvm-rg350-44e79803648ba7704e97031752506ad42176990d.tar.bz2
scummvm-rg350-44e79803648ba7704e97031752506ad42176990d.zip
Added proper saving/loading of mapped key modifiers. Fixed modifier recognition in a much less hackish manner, (but still using a minor hack as a stopgap until KeyState can be replaced as the primary lookup type for the keymapper).
svn-id: r43363
Diffstat (limited to 'common/keyboard.h')
-rw-r--r--common/keyboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keyboard.h b/common/keyboard.h
index 6cd4939a6e..cf595d4dd8 100644
--- a/common/keyboard.h
+++ b/common/keyboard.h
@@ -267,7 +267,7 @@ struct KeyState {
}
bool operator ==(const KeyState &x) const {
- return keycode == x.keycode && /*ascii == x.ascii && */flags == x.flags;
+ return keycode == x.keycode && ascii == x.ascii && flags == x.flags;
}
};