diff options
Diffstat (limited to 'backends/platform/sdl/events.cpp')
-rw-r--r-- | backends/platform/sdl/events.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/sdl/events.cpp b/backends/platform/sdl/events.cpp index c2edcf78fb..7a4ccb6e87 100644 --- a/backends/platform/sdl/events.cpp +++ b/backends/platform/sdl/events.cpp @@ -524,6 +524,7 @@ bool OSystem_SDL::remapKey(SDL_Event &ev, Common::Event &event) { } void OSystem_SDL::setupKeymapper() { +#ifdef ENABLE_KEYMAPPER using namespace Common; Keymapper *mapper = getEventManager()->getKeymapper(); @@ -578,5 +579,6 @@ void OSystem_SDL::setupKeymapper() { mapper->addGlobalKeymap(guiMap); mapper->pushKeymap("global"); +#endif } |