[Scummvm-git-logs] scummvm master -> e69a814f88527ca85740663c03b84804b69a7fab
alxpnv
a04198622 at gmail.com
Wed May 19 10:42:21 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e69a814f88 ASYLUM: allow using mapped keys while editing savegame name
Commit: e69a814f88527ca85740663c03b84804b69a7fab
https://github.com/scummvm/scummvm/commit/e69a814f88527ca85740663c03b84804b69a7fab
Author: alxpnv (alxpnv22 at yahoo.com)
Date: 2021-05-19T13:44:20+03:00
Commit Message:
ASYLUM: allow using mapped keys while editing savegame name
Changed paths:
engines/asylum/asylum.cpp
diff --git a/engines/asylum/asylum.cpp b/engines/asylum/asylum.cpp
index 327e6040ed..7e68bf6d0b 100644
--- a/engines/asylum/asylum.cpp
+++ b/engines/asylum/asylum.cpp
@@ -20,6 +20,8 @@
*
*/
+#include "backends/keymapper/keymapper.h"
+
#include "common/debug-channels.h"
#include "common/rect.h"
@@ -383,7 +385,10 @@ void AsylumEngine::handleEvents() {
_console->onFrame();
AsylumEvent ev;
+ Common::Keymapper *const keymapper = _eventMan->getKeymapper();
+
while (_eventMan->pollEvent(ev)) {
+ keymapper->setEnabled(_handler == _scene);
switch (ev.type) {
default:
break;
More information about the Scummvm-git-logs
mailing list