Add P button to pause

This commit is contained in:
2024-02-12 15:44:43 +01:00
parent 4252547342
commit f0332465ef
3 changed files with 7 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ typedef struct InputMapping {
//MouseButton mmb;
MouseButton backBtn;
MouseButton pauseBtn;
MouseButton moveLeft;
MouseButton moveRight;
MouseButton moveUp;
@@ -83,6 +84,7 @@ static InputMapping inputDefaultMapping() {
.secondaryBtn = MOUSE_BUTTON_RIGHT,
.backBtn = KEY_ESCAPE,
.pauseBtn = KEY_P,
.moveLeft = KEY_W,
.moveRight = KEY_D,
.moveUp = KEY_UP,