mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
SCI: handle TAB like Ctrl-I on menu key checking, sci0 also did it that way - makes TAB work for inventory in iceman/qfg1ega
svn-id: r49044
This commit is contained in:
parent
ae4da9debe
commit
5e4868fb00
@ -392,6 +392,11 @@ reg_t GfxMenu::kernelSelect(reg_t eventObject) {
|
||||
case SCI_EVENT_KEYBOARD:
|
||||
keyPress = GET_SEL32V(_segMan, eventObject, SELECTOR(message));
|
||||
keyModifier = GET_SEL32V(_segMan, eventObject, SELECTOR(modifiers));
|
||||
// If tab got pressed, handle it here as if it was Ctrl-I - at least sci0 also did it that way
|
||||
if (keyPress == SCI_KEY_TAB) {
|
||||
keyModifier = SCI_KEYMOD_CTRL;
|
||||
keyPress = 'i';
|
||||
}
|
||||
switch (keyPress) {
|
||||
case 0:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user