mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
GRIM: Fix mapping of joystick action buttons in EMI (#2540)
This commit is contained in:
parent
ee4799c51a
commit
be1d4f65d8
@ -567,22 +567,22 @@ Common::KeymapArray GrimEngine::initKeymapsEMI(const char *target) {
|
||||
engineKeyMap->addAction(act);
|
||||
|
||||
act = new Action("EXAM", _("Examine/Look"));
|
||||
act->setKeyEvent(KeyState(KEYCODE_s, 'e'));
|
||||
act->setKeyEvent(KeyState(KEYCODE_l, 'e'));
|
||||
act->addDefaultInputMapping("JOY_X");
|
||||
engineKeyMap->addAction(act);
|
||||
|
||||
act = new Action("BUSE", _("Use/Talk"));
|
||||
act->setKeyEvent(KeyState(KEYCODE_w, 'u'));
|
||||
act->setKeyEvent(KeyState(KEYCODE_u, 'u'));
|
||||
act->addDefaultInputMapping("JOY_A");
|
||||
engineKeyMap->addAction(act);
|
||||
|
||||
act = new Action("PICK", _("Pick up/Put away"));
|
||||
act->setKeyEvent(KeyState(KEYCODE_a, 'p'));
|
||||
act->setKeyEvent(KeyState(KEYCODE_KP_PLUS, 'p'));
|
||||
act->addDefaultInputMapping("JOY_B");
|
||||
engineKeyMap->addAction(act);
|
||||
|
||||
act = new Action("INVT", _("Inventory"));
|
||||
act->setKeyEvent(KeyState(KEYCODE_d, 'i'));
|
||||
act->setKeyEvent(KeyState(KEYCODE_INSERT, 'i'));
|
||||
act->addDefaultInputMapping("JOY_Y");
|
||||
engineKeyMap->addAction(act);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user