mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
PEGASUS: Remove the debugger keymapper action
Opening the debugger is now in the global keymap.
This commit is contained in:
parent
60ab1dc239
commit
06e6176285
@ -46,7 +46,6 @@ InputDeviceManager::InputDeviceManager() {
|
||||
|
||||
g_system->getEventManager()->getEventDispatcher()->registerObserver(this, 2, false);
|
||||
_lastRawBits = kAllUpBits;
|
||||
_consoleRequested = false;
|
||||
}
|
||||
|
||||
InputDeviceManager::~InputDeviceManager() {
|
||||
@ -138,9 +137,6 @@ bool InputDeviceManager::notifyEvent(const Common::Event &event) {
|
||||
switch (event.type) {
|
||||
case Common::EVENT_CUSTOM_ENGINE_ACTION_START:
|
||||
switch ((PegasusAction)event.customType) {
|
||||
case kPegasusActionOpenDebugger:
|
||||
_consoleRequested = true;
|
||||
break;
|
||||
case kPegasusActionSaveGameState:
|
||||
((PegasusEngine *)g_engine)->requestSave();
|
||||
break;
|
||||
|
@ -52,7 +52,6 @@ enum PegasusAction {
|
||||
kPegasusActionShowPauseMenu,
|
||||
kPegasusActionSaveGameState,
|
||||
kPegasusActionLoadGameState,
|
||||
kPegasusActionOpenDebugger,
|
||||
kPegasusActionEnableEasterEgg,
|
||||
|
||||
kPegasusActionCount
|
||||
@ -77,7 +76,6 @@ protected:
|
||||
// Keep track of which keys are down (= true) or not
|
||||
bool _keysDown[kPegasusActionCount];
|
||||
InputBits _lastRawBits;
|
||||
bool _consoleRequested;
|
||||
};
|
||||
|
||||
enum {
|
||||
|
@ -2577,11 +2577,6 @@ Common::KeymapArray PegasusEngine::initKeymaps() {
|
||||
act->addDefaultInputMapping("e");
|
||||
engineKeyMap->addAction(act);
|
||||
|
||||
act = new Action(kStandardActionOpenDebugger, _("Open debugger"));
|
||||
act->setCustomEngineActionEvent(kPegasusActionOpenDebugger);
|
||||
act->addDefaultInputMapping("C+d");
|
||||
engineKeyMap->addAction(act);
|
||||
|
||||
// We support meta where available and control elsewhere
|
||||
act = new Action(kStandardActionSave, _("Save Game"));
|
||||
act->setCustomEngineActionEvent(kPegasusActionSaveGameState);
|
||||
|
Loading…
Reference in New Issue
Block a user