Can use ESC or 'Q' to quit now.
For those who don't know the system shortcut for closing a window.
This commit is contained in:
parent
30c0bdb23b
commit
72e2b3dd09
@ -93,6 +93,9 @@ void input::set_key(SDL_Keysym key, bool value) {
|
||||
case SDLK_d:
|
||||
actions["move_right"] = value;
|
||||
break;
|
||||
case SDLK_ESCAPE:
|
||||
case SDLK_q:
|
||||
actions["quit"] = value;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user