Skip to content

Commit

Permalink
Merge pull request #722 from Daft-Freak/patch-3
Browse files Browse the repository at this point in the history
Bind MENU to escape for SDL
  • Loading branch information
Gadgetoid authored Oct 13, 2021
2 parents 96b27e1 + 149d3f1 commit 9bddc73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 32blit-sdl/Input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ std::map<int, int> Input::keys = {
{SDLK_1, blit::Button::HOME},
{SDLK_2, blit::Button::MENU},
{SDLK_3, blit::Button::JOYSTICK},

{SDLK_ESCAPE, blit::Button::MENU},
};

std::map<int, int> Input::buttons = {
Expand Down

0 comments on commit 9bddc73

Please sign in to comment.