diff options
Diffstat (limited to 'backends/events')
-rw-r--r-- | backends/events/samsungtvsdl/samsungtvsdl-events.cpp (renamed from backends/events/samsungtv/samsungtv-events.cpp) | 8 | ||||
-rw-r--r-- | backends/events/samsungtvsdl/samsungtvsdl-events.h (renamed from backends/events/samsungtv/samsungtv-events.h) | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/backends/events/samsungtv/samsungtv-events.cpp b/backends/events/samsungtvsdl/samsungtvsdl-events.cpp index c36684122f..d1c35d3a5a 100644 --- a/backends/events/samsungtv/samsungtv-events.cpp +++ b/backends/events/samsungtvsdl/samsungtvsdl-events.cpp @@ -23,17 +23,17 @@ * */ -#if defined(SAMSUNGTV) +#ifdef SAMSUNGTV -#include "backends/events/samsungtv/samsungtv-events.h" +#include "backends/events/samsungtvsdl/samsungtvsdl-events.h" -SdlSamsungTVEventManager::SdlSamsungTVEventManager(Common::EventSource *boss) +SamsungTVSdlEventManager::SamsungTVSdlEventManager(Common::EventSource *boss) : SdlEventManager(boss) { } -bool SdlSamsungTVEventManager::remapKey(SDL_Event &ev, Common::Event &event) { +bool SamsungTVSdlEventManager::remapKey(SDL_Event &ev, Common::Event &event) { switch (ev.type) { case SDL_KEYDOWN:{ if (ev.key.keysym.sym == SDLK_POWER) { diff --git a/backends/events/samsungtv/samsungtv-events.h b/backends/events/samsungtvsdl/samsungtvsdl-events.h index 1c7e38984f..1189af4500 100644 --- a/backends/events/samsungtv/samsungtv-events.h +++ b/backends/events/samsungtvsdl/samsungtvsdl-events.h @@ -28,13 +28,13 @@ #include "backends/events/sdl/sdl-events.h" -class SdlSamsungTVEventManager : public SdlEventManager { +class SamsungTVSdlEventManager : public SdlEventManager { public: - SdlSamsungTVEventManager(Common::EventSource *boss); - ~SdlSamsungTVEventManager() {} + SamsungTVSdlEventManager(Common::EventSource *boss); + ~SamsungTVSdlEventManager() {} protected: - bool remapKey(SDL_Event &ev, Common::Event &event); + virtual bool remapKey(SDL_Event &ev, Common::Event &event); }; #endif |