]> git.localhorst.tv Git - blank.git/commitdiff
introduce space and shift for up and down :)
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 6 Mar 2015 16:34:21 +0000 (17:34 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 6 Mar 2015 16:39:08 +0000 (17:39 +0100)
Finally! q and e were so annoying.
I may eventually remove or reassign them to something else.
Maybe roll or menus or nothing at all or whatever.
Point is: don't get used to it (until I someday implement configuration).
You have been warned.

PS: Yeah, like anyone but me reads this anyway :D
    so watch out, future me!

PPS: today I enjoyed reading lengthy commit messages from two years past
     me, so go figure ^^

PPPS: I can't believe I amended this commit 4 times
      ...and only for its message

src/app.cpp

index 4f7cbdca49e0097620c1de82a7a8f09cb612592a..e8f92689f2fe8cc4cda80cc987baf0aa79b89819 100644 (file)
@@ -89,9 +89,11 @@ void Application::HandleEvents() {
                                                right = event.key.state == SDL_PRESSED;
                                                break;
                                        case SDLK_q:
+                                       case SDLK_SPACE:
                                                up = event.key.state == SDL_PRESSED;
                                                break;
                                        case SDLK_e:
+                                       case SDLK_LSHIFT:
                                                down = event.key.state == SDL_PRESSED;
                                                break;
                                }