aboutsummaryrefslogtreecommitdiff
path: root/src/ppusim
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2023-03-20 19:11:41 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2023-03-20 19:11:41 +0100
commit72295b9df9c0de9e585cce3f41437965eb0390cb (patch)
treec4ec60c1773b654edd2177b5082d5d7d584b2ea4 /src/ppusim
parente79c36460f400991caa82598499c0ea7c37ebb90 (diff)
demo version
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];
}