Skip to content

Commit

Permalink
MAEMO: Fix compile without keymapper
Browse files Browse the repository at this point in the history
  • Loading branch information
tsoliman committed Jul 15, 2012
1 parent a97f446 commit aa8dec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/platform/maemo/maemo.cpp
Expand Up @@ -180,6 +180,7 @@ void OSystem_SDL_Maemo::setupIcon() {
// http://bugzilla.libsdl.org/show_bug.cgi?id=586
}

#ifdef ENABLE_KEYMAPPER
static const Common::KeyTableEntry maemoKeys[] = {
// Function keys
{"MENU", Common::KEYCODE_F11, 0, "Menu", false},
Expand All @@ -191,7 +192,6 @@ static const Common::KeyTableEntry maemoKeys[] = {
{0, Common::KEYCODE_INVALID, 0, 0, false}
};

#ifdef ENABLE_KEYMAPPER
Common::HardwareInputSet *OSystem_SDL_Maemo::getHardwareInputSet() {
return new Common::HardwareInputSet(true, maemoKeys);
}
Expand Down

0 comments on commit aa8dec9

Please sign in to comment.