diff options
author | UnavailableDev <ggwildplay@gmail.com> | 2023-03-13 09:57:34 +0100 |
---|---|---|
committer | UnavailableDev <ggwildplay@gmail.com> | 2023-03-13 09:57:34 +0100 |
commit | 5c4bf7d451135cd3af3e51976251f01cbb6e6573 (patch) | |
tree | 82990aa7c7df22c0888543a87dbd05799217cc99 /src/ppusim/input.c | |
parent | bb2839a81d64e8644c57d83806ae41cc4cfad9dd (diff) |
camera, movement, collisions
Diffstat (limited to 'src/ppusim/input.c')
-rw-r--r-- | src/ppusim/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ppusim/input.c b/src/ppusim/input.c index 08bc382..5323fb1 100644 --- a/src/ppusim/input.c +++ b/src/ppusim/input.c @@ -12,4 +12,5 @@ void hh_input_read() { g_hh_controller_p1.dpad_down = kb[SDL_SCANCODE_S]; g_hh_controller_p1.dpad_left = kb[SDL_SCANCODE_A]; g_hh_controller_p1.dpad_right = kb[SDL_SCANCODE_D]; + g_hh_controller_p1.button_primary = kb[SDL_SCANCODE_SPACE]; } |