diff options
Diffstat (limited to 'backends/events/sdl/sdl-events.h')
-rw-r--r-- | backends/events/sdl/sdl-events.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/events/sdl/sdl-events.h b/backends/events/sdl/sdl-events.h index 805b76b108..9122692a8e 100644 --- a/backends/events/sdl/sdl-events.h +++ b/backends/events/sdl/sdl-events.h @@ -127,6 +127,11 @@ protected: * Configures the key modifiers flags status */ virtual void SDLModToOSystemKeyFlags(SDLMod mod, Common::Event &event); + + /** + * Translates SDL key codes to OSystem key codes + */ + Common::KeyCode SDLToOSystemKeycode(const SDLKey key); }; #endif |