diff options
| author | Max Horn | 2009-11-09 23:29:33 +0000 |
|---|---|---|
| committer | Max Horn | 2009-11-09 23:29:33 +0000 |
| commit | 9d816caf560bd53c8be6b1f804f97d0a4d658df2 (patch) | |
| tree | 4ac1925843ef15286bc69f07f731945db3da2938 /backends/platform/linuxmoto | |
| parent | a1496515ce02e3ab39ce076622c639d18577311f (diff) | |
| download | scummvm-rg350-9d816caf560bd53c8be6b1f804f97d0a4d658df2.tar.gz scummvm-rg350-9d816caf560bd53c8be6b1f804f97d0a4d658df2.tar.bz2 scummvm-rg350-9d816caf560bd53c8be6b1f804f97d0a4d658df2.zip | |
SDL: Make first param of OSystem_SDL::remapKey const
svn-id: r45791
Diffstat (limited to 'backends/platform/linuxmoto')
| -rw-r--r-- | backends/platform/linuxmoto/linuxmoto-events.cpp | 2 | ||||
| -rw-r--r-- | backends/platform/linuxmoto/linuxmoto-sdl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/linuxmoto/linuxmoto-events.cpp b/backends/platform/linuxmoto/linuxmoto-events.cpp index 50daa12d5b..f11bd8a636 100644 --- a/backends/platform/linuxmoto/linuxmoto-events.cpp +++ b/backends/platform/linuxmoto/linuxmoto-events.cpp @@ -65,7 +65,7 @@ void OSystem_LINUXMOTO::fillMouseEvent(Common::Event &event, int x, int y) { } } -bool OSystem_LINUXMOTO::remapKey(SDL_Event &ev, Common::Event &event) { +bool OSystem_LINUXMOTO::remapKey(const SDL_Event &ev, Common::Event &event) { // Motorol A1200/E6/A1600 remapkey by Lubomyr #ifdef MOTOEZX // Quit on MOD+Camera Key on A1200 diff --git a/backends/platform/linuxmoto/linuxmoto-sdl.h b/backends/platform/linuxmoto/linuxmoto-sdl.h index 57d1dc8972..9d4fe28d2e 100644 --- a/backends/platform/linuxmoto/linuxmoto-sdl.h +++ b/backends/platform/linuxmoto/linuxmoto-sdl.h @@ -50,7 +50,7 @@ public: void hideOverlay(); /* Event Stuff */ - virtual bool remapKey(SDL_Event &ev, Common::Event &event); + virtual bool remapKey(const SDL_Event &ev, Common::Event &event); virtual void preprocessEvents(SDL_Event *event); virtual void setupMixer(); virtual Common::HardwareKeySet *getHardwareKeySet(); |
