mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 09:19:05 +02:00
Misc cleanups and fixes
This commit is contained in:
1 parent
ffa36cbe77
commit
892ef99daa
21 files changed
+25
-25
No files matched your search
@@ -58,7 +58,7 @@ float ControlMapper::GetDeviceAxisThreshold(int device, const InputMapping &mapp
|
||||
if (absCoValue > 0.0f) {
|
||||
// Bias down the threshold if the other axis is active.
|
||||
const float biasedThreshold = g_Config.fAnalogStickThreshold * (1.0f - absCoValue * 0.35f);
|
||||
INFO_LOG(Log::System, "coValue: %f threshold: %f", absCoValue, biasedThreshold);
|
||||
// INFO_LOG(Log::System, "coValue: %f threshold: %f", absCoValue, biasedThreshold);
|
||||
return biasedThreshold;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user