mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-23 08:38:52 -05:00
Fix ocarina right stick controls (#1211)
This commit is contained in:
parent
46a421f933
commit
a3d0962054
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user