diff options
author | UnavailableDev <ggwildplay@gmail.com> | 2023-04-03 10:09:40 +0200 |
---|---|---|
committer | UnavailableDev <ggwildplay@gmail.com> | 2023-04-03 10:09:40 +0200 |
commit | 05504df10934cac60b774fb10e86593ec3897510 (patch) | |
tree | 89a418bb7477904f394e460d5e661c3047117030 /src/ppusim/input.c | |
parent | 54c3e1139e3e0e328f7ce3e8a2a61b0bf530a772 (diff) | |
parent | 0a014f39c375c0cf28de70ebaab6cb0a5266f3c2 (diff) |
Merge branch 'dev' of https://github.com/UnavailableDev/avans-arcade into dev
Diffstat (limited to 'src/ppusim/input.c')
-rw-r--r-- | src/ppusim/input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ppusim/input.c b/src/ppusim/input.c index 08bc382..4bc7018 100644 --- a/src/ppusim/input.c +++ b/src/ppusim/input.c @@ -12,4 +12,6 @@ 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]; + g_hh_controller_p1.button_secondary = kb[SDL_SCANCODE_R]; } |