diff options
author | Torbjörn Andersson | 2007-03-27 14:28:48 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-03-27 14:28:48 +0000 |
commit | 6a9eb08ac7cc51890ae853078c64fd43cccd2452 (patch) | |
tree | 0b085d50ed5e62b87ed914f8bc74d5b5e2e32029 | |
parent | 508befd55624edafd6ec70e85b104ec9741a46c6 (diff) | |
download | scummvm-rg350-6a9eb08ac7cc51890ae853078c64fd43cccd2452.tar.gz scummvm-rg350-6a9eb08ac7cc51890ae853078c64fd43cccd2452.tar.bz2 scummvm-rg350-6a9eb08ac7cc51890ae853078c64fd43cccd2452.zip |
Fixed indentation.
svn-id: r26308
-rw-r--r-- | backends/platform/sdl/events.cpp | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/backends/platform/sdl/events.cpp b/backends/platform/sdl/events.cpp index 09c49405d8..c62c4e5b0b 100644 --- a/backends/platform/sdl/events.cpp +++ b/backends/platform/sdl/events.cpp @@ -334,22 +334,22 @@ bool OSystem_SDL::pollEvent(Common::Event &event) { } else { event.type = Common::EVENT_KEYDOWN; switch (ev.jbutton.button) { - case JOY_BUT_ESCAPE: - event.kbd.keycode = SDLK_ESCAPE; - event.kbd.ascii = mapKey(SDLK_ESCAPE, ev.key.keysym.mod, 0); - break; - case JOY_BUT_PERIOD: - event.kbd.keycode = SDLK_PERIOD; - event.kbd.ascii = mapKey(SDLK_PERIOD, ev.key.keysym.mod, 0); - break; - case JOY_BUT_SPACE: - event.kbd.keycode = SDLK_SPACE; - event.kbd.ascii = mapKey(SDLK_SPACE, ev.key.keysym.mod, 0); - break; - case JOY_BUT_F5: - event.kbd.keycode = SDLK_F5; - event.kbd.ascii = mapKey(SDLK_F5, ev.key.keysym.mod, 0); - break; + case JOY_BUT_ESCAPE: + event.kbd.keycode = SDLK_ESCAPE; + event.kbd.ascii = mapKey(SDLK_ESCAPE, ev.key.keysym.mod, 0); + break; + case JOY_BUT_PERIOD: + event.kbd.keycode = SDLK_PERIOD; + event.kbd.ascii = mapKey(SDLK_PERIOD, ev.key.keysym.mod, 0); + break; + case JOY_BUT_SPACE: + event.kbd.keycode = SDLK_SPACE; + event.kbd.ascii = mapKey(SDLK_SPACE, ev.key.keysym.mod, 0); + break; + case JOY_BUT_F5: + event.kbd.keycode = SDLK_F5; + event.kbd.ascii = mapKey(SDLK_F5, ev.key.keysym.mod, 0); + break; } } return true; @@ -364,22 +364,22 @@ bool OSystem_SDL::pollEvent(Common::Event &event) { } else { event.type = Common::EVENT_KEYUP; switch (ev.jbutton.button) { - case JOY_BUT_ESCAPE: - event.kbd.keycode = SDLK_ESCAPE; - event.kbd.ascii = mapKey(SDLK_ESCAPE, ev.key.keysym.mod, 0); - break; - case JOY_BUT_PERIOD: - event.kbd.keycode = SDLK_PERIOD; - event.kbd.ascii = mapKey(SDLK_PERIOD, ev.key.keysym.mod, 0); - break; - case JOY_BUT_SPACE: - event.kbd.keycode = SDLK_SPACE; - event.kbd.ascii = mapKey(SDLK_SPACE, ev.key.keysym.mod, 0); - break; - case JOY_BUT_F5: - event.kbd.keycode = SDLK_F5; - event.kbd.ascii = mapKey(SDLK_F5, ev.key.keysym.mod, 0); - break; + case JOY_BUT_ESCAPE: + event.kbd.keycode = SDLK_ESCAPE; + event.kbd.ascii = mapKey(SDLK_ESCAPE, ev.key.keysym.mod, 0); + break; + case JOY_BUT_PERIOD: + event.kbd.keycode = SDLK_PERIOD; + event.kbd.ascii = mapKey(SDLK_PERIOD, ev.key.keysym.mod, 0); + break; + case JOY_BUT_SPACE: + event.kbd.keycode = SDLK_SPACE; + event.kbd.ascii = mapKey(SDLK_SPACE, ev.key.keysym.mod, 0); + break; + case JOY_BUT_F5: + event.kbd.keycode = SDLK_F5; + event.kbd.ascii = mapKey(SDLK_F5, ev.key.keysym.mod, 0); + break; } } return true; |