aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/linuxmoto/linuxmoto-events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/linuxmoto/linuxmoto-events.cpp')
-rw-r--r--backends/platform/linuxmoto/linuxmoto-events.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/backends/platform/linuxmoto/linuxmoto-events.cpp b/backends/platform/linuxmoto/linuxmoto-events.cpp
index aa71fe8be3..50daa12d5b 100644
--- a/backends/platform/linuxmoto/linuxmoto-events.cpp
+++ b/backends/platform/linuxmoto/linuxmoto-events.cpp
@@ -44,13 +44,13 @@ static int mapKey(SDLKey key, SDLMod mod, Uint16 unicode) {
}
void OSystem_LINUXMOTO::fillMouseEvent(Common::Event &event, int x, int y) {
- if(_videoMode.mode == GFX_HALF && !_overlayVisible) {
- event.mouse.x = x*2;
- event.mouse.y = y*2;
- } else {
- event.mouse.x = x;
- event.mouse.y = y;
- }
+ if (_videoMode.mode == GFX_HALF && !_overlayVisible) {
+ event.mouse.x = x*2;
+ event.mouse.y = y*2;
+ } else {
+ event.mouse.x = x;
+ event.mouse.y = y;
+ }
// Update the "keyboard mouse" coords
_km.x = x;
@@ -82,7 +82,7 @@ bool OSystem_LINUXMOTO::remapKey(SDL_Event &ev, Common::Event &event) {
ev.key.keysym.sym = SDLK_F5;
}
// VirtualKeyboard - Camera key
- else if (ev.key.keysym.sym == SDLK_PAUSE) {
+ else if (ev.key.keysym.sym == SDLK_PAUSE) {
ev.key.keysym.sym = SDLK_F7;
}
// Enter - mod+fire key