Fix ocarina right stick controls (#1211)

This commit is contained in:
GaryOderNichts 2022-08-16 13:47:41 +02:00 committed by GitHub
parent 46a421f933
commit a3d0962054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}