From a3d09620543567d366eef27ebb90a7e747d5f8d7 Mon Sep 17 00:00:00 2001 From: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com> Date: Tue, 16 Aug 2022 13:47:41 +0200 Subject: [PATCH] Fix ocarina right stick controls (#1211) --- soh/src/code/code_800EC960.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/soh/src/code/code_800EC960.c b/soh/src/code/code_800EC960.c index 0689eae41..f7d073a8d 100644 --- a/soh/src/code/code_800EC960.c +++ b/soh/src/code/code_800EC960.c @@ -1304,10 +1304,9 @@ void Audio_GetOcaInput(void) { sCurOcaStick.x = input->rel.stick_x; sCurOcaStick.y = input->rel.stick_y; - f32 rstick_x = input->cur.cam_x; - f32 rstick_y = input->cur.cam_y; - printf("%f %f\n", rstick_x, rstick_y); - const f32 sensitivity = 500; + s8 rstick_x = input->cur.right_stick_x; + s8 rstick_y = input->cur.right_stick_y; + const s8 sensitivity = 64; if (rstick_x > sensitivity) { sCurOcarinaBtnPress |= RSTICK_RIGHT; }