mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
@@ -149,8 +149,8 @@ void __CtrlPeekAnalog(int stick, float *x, float *y)
|
||||
{
|
||||
std::lock_guard<std::recursive_mutex> guard(ctrlMutex);
|
||||
|
||||
*x = (ctrlCurrent.analog[stick][0] - 127.5f) / 127.5f;
|
||||
*y = -(ctrlCurrent.analog[stick][1] - 127.5f) / 127.5f;
|
||||
*x = (ctrlCurrent.analog[stick][CTRL_ANALOG_X] - 127.5f) / 127.5f;
|
||||
*y = -(ctrlCurrent.analog[stick][CTRL_ANALOG_Y] - 127.5f) / 127.5f;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user