mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-20 17:59:08 +02:00
Controls: Add a setting for the threshold used to map analog stick inputs to digital buttons
This commit is contained in:
1 parent
6df47225dd
commit
e780e32f98
49 files changed
+108
-14
No files matched your search
@@ -419,7 +419,7 @@ bool KeyMappingNewMouseKeyDialog::key(const KeyInput &key) {
|
||||
|
||||
// Only used during the bind process. In other places, it's configurable for some types of axis, like trigger.
|
||||
const float AXIS_BIND_THRESHOLD = 0.75f;
|
||||
const float AXIS_BIND_RELEASE_THRESHOLD = 0.35f; // Used during mapping only to detect a "key-up" reliably.
|
||||
const float AXIS_BIND_RELEASE_THRESHOLD = 0.35f; // Used during mapping only to detect a "key-up" reliably (hysteresis).
|
||||
|
||||
void KeyMappingNewKeyDialog::axis(const AxisInput &axis) {
|
||||
if (time_now_d() < delayUntil_)
|
||||
|
||||
Reference in new issue
Block a user