diff options
author | Paul Gilbert | 2011-07-16 15:30:06 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-07-16 15:30:06 +1000 |
commit | b957eda759c060048ca2c1d371105c64776d1207 (patch) | |
tree | 8499020d6118b85cd4b122b04aa28378dfed9f9c /engines | |
parent | c3f3120194151cdeb31d9b3622c76cd4e5b7ed6a (diff) | |
download | scummvm-rg350-b957eda759c060048ca2c1d371105c64776d1207.tar.gz scummvm-rg350-b957eda759c060048ca2c1d371105c64776d1207.tar.bz2 scummvm-rg350-b957eda759c060048ca2c1d371105c64776d1207.zip |
CGE: Map keypad Enter to be handled like the main Enter key
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/events.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cge/events.cpp b/engines/cge/events.cpp index 73018aa2ea..eba043cdc8 100644 --- a/engines/cge/events.cpp +++ b/engines/cge/events.cpp @@ -104,6 +104,10 @@ bool Keyboard::getKey(uint16 keycode, int &cgeCode) { cgeCode = 29; return true; } + if (keycode == Common::KEYCODE_KP_ENTER) { + cgeCode = 28; + return true; + } // Scan through the ScummVM mapping list for (int idx = 0; idx < 0x60; ++idx) { |