aboutsummaryrefslogtreecommitdiff
path: root/src/ppusim
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-03-22 10:29:24 +0100
committerUnavailableDev <ggwildplay@gmail.com>2023-03-22 10:29:24 +0100
commitcd9f96be0d1ca49f269d8dc7c801479ef382d21b (patch)
treed3768b4d9a8ef8cb1c6ee5e6dcea785adb902d5c /src/ppusim
parent439be80c80498586a299c28ce1be3ea765b414a9 (diff)
parent746b9a43b745e6f7cbac4cbe529d3f5f719d1eea (diff)
Merge branch 'dev' of https://github.com/heavydemon21/avans-arcade into game-engine
Diffstat (limited to 'src/ppusim')
-rw-r--r--src/ppusim/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ppusim/input.c b/src/ppusim/input.c
index 5323fb1..4bc7018 100644
--- a/src/ppusim/input.c
+++ b/src/ppusim/input.c
@@ -13,4 +13,5 @@ void hh_input_read() {
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];
}