CGE: Map keypad Enter to be handled like the main Enter key

This commit is contained in:
Paul Gilbert 2011-07-16 15:30:06 +10:00
parent c3f3120194
commit b957eda759

View File

@ -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) {