Skip to content

Commit

Permalink
Checking for cheat console activation on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeef committed Aug 25, 2024
1 parent 6e386db commit 90665cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/input/src/Input_Darwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ void Input::poll()
_toggles.out_bomb.reset_changed();
_toggles.out_rope.reset_changed();
_toggles.purchase.reset_changed();
_toggles.cheat_console.reset_changed();

SDL_Event event{};

Expand Down Expand Up @@ -114,6 +115,10 @@ void Input::poll()
{
_toggles.out_rope.feed(v);
}
else if (key == SDLK_TAB)
{
_toggles.cheat_console.feed(v);
}
}
}

Expand Down

0 comments on commit 90665cc

Please sign in to comment.