summaryrefslogtreecommitdiff
path: root/soh/src/code/code_800EC960.c
diff options
context:
space:
mode:
authorGaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>2022-08-16 13:47:41 +0200
committerGitHub <noreply@github.com>2022-08-16 13:47:41 +0200
commita3d09620543567d366eef27ebb90a7e747d5f8d7 (patch)
tree68ade9c5effc31678f8ff5b1bcfcdbaedaf08d3f /soh/src/code/code_800EC960.c
parent46a421f93368a20c9aee89abec4376f0319b1313 (diff)
Fix ocarina right stick controls (#1211)
Diffstat (limited to 'soh/src/code/code_800EC960.c')
-rw-r--r--soh/src/code/code_800EC960.c7
1 files 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;
}