From 623bbbcb023b030683027a4c5b54b4fabc77f6fe Mon Sep 17 00:00:00 2001 From: Pawel Kolodziejski Date: Sun, 4 Oct 2009 14:11:35 +0000 Subject: [PATCH] include hardwarekeys.cpp in compilation --- backends/platform/sdl/module.mk | 1 + backends/platform/sdl/sdl_driver.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/backends/platform/sdl/module.mk b/backends/platform/sdl/module.mk index c698cd5801d..413fc7a4a96 100644 --- a/backends/platform/sdl/module.mk +++ b/backends/platform/sdl/module.mk @@ -1,6 +1,7 @@ MODULE := backends/platform/sdl MODULE_OBJS := \ + hardwarekeys.o \ sdl_driver.o MODULE_DIRS += \ diff --git a/backends/platform/sdl/sdl_driver.h b/backends/platform/sdl/sdl_driver.h index 383f8fe5295..025ebef4200 100644 --- a/backends/platform/sdl/sdl_driver.h +++ b/backends/platform/sdl/sdl_driver.h @@ -79,6 +79,9 @@ public: // Returns true if an event was retrieved. virtual bool pollEvent(Common::Event &event); + // Define all hardware keys for keymapper + virtual Common::HardwareKeySet *getHardwareKeySet(); + // Set function that generates samples virtual void setupMixer(); static void mixCallback(void *s, byte *samples, int len);