Skip to content

Commit 0dab7eb

Browse files
Allow 2nd/alpha for jump/duck
1 parent 7be1b35 commit 0dab7eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
#define DIFF_STATUS 1
5959
#endif
6060
#ifndef VERSION
61-
#define VERSION 1.1
61+
#define VERSION 1.3
6262
#endif
6363

6464

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ bool play(void) {
5555
any_hid_held(KEY_SPACE) ||
5656
any_hid_mouse_held(HID_MOUSE_LEFT);
5757
#else
58-
duck_pressed = kb_IsDown(kb_KeyDown);
59-
jump_pressed = kb_IsDown(kb_KeyUp);
58+
duck_pressed = kb_IsDown(kb_KeyDown) || kb_IsDown(kb_KeyAlpha);
59+
jump_pressed = kb_IsDown(kb_KeyUp) || kb_IsDown(kb_Key2nd);
6060
#endif
6161

6262
game.dino.ducking = duck_pressed && game.dino.on_ground;

0 commit comments

Comments
 (0)