mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
MAEMO: Fix compile without keymapper
This commit is contained in:
parent
a97f4466fd
commit
aa8dec9a72
@ -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},
|
||||
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user