aboutsummaryrefslogtreecommitdiff
path: root/src/ppusim/input.c
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-03-22 10:42:34 +0100
committerGitHub <noreply@github.com>2023-03-22 10:42:34 +0100
commit7f51cd925883bbf958baa289d4d19231667c9eba (patch)
tree21800c4233b3be015cb9aa1f1448b2ab4db4c832 /src/ppusim/input.c
parente43428eef0d96839cd9a5b2d25e31c90555cfb6c (diff)
parent49112a1999c008fb6fa6c9c368eb2be0d92d15dc (diff)
Merge pull request #44 from UnavailableDev/game-engine
Game engine
Diffstat (limited to 'src/ppusim/input.c')
-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];
}