mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-01 15:48:49 +00:00
(iOS, WiiMote) Don't call calc_joystick_state for classic controller. The sticks aren't used so no point in doing the math (especially that sqrt).
This commit is contained in:
parent
d39f5280f9
commit
a2122ff858
@ -640,8 +640,8 @@ void classic_ctrl_event(struct classic_ctrl_t* cc, byte* msg) {
|
||||
printf("lx ly rx ry %d %d %d %d\n",lx,ly,rx,ry);
|
||||
#endif
|
||||
|
||||
calc_joystick_state(&cc->ljs, lx, ly);
|
||||
calc_joystick_state(&cc->rjs, rx, ry);
|
||||
// calc_joystick_state(&cc->ljs, lx, ly);
|
||||
// calc_joystick_state(&cc->rjs, rx, ry);
|
||||
|
||||
/*
|
||||
printf("classic L button pressed: %f\n", cc->l_shoulder);
|
||||
|
Loading…
Reference in New Issue
Block a user