summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2020-02-10 00:05:10 +0000
committerGitHub <noreply@github.com>2020-02-10 00:05:10 +0000
commitdb65b9a766fd443eac48ced8e7693ef23b39e83e (patch)
treee428c2563bb014968679e59c447ce3eb62a7b830 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h
parente00459f68fd53b6a4d30800ce0548e459b141e5e (diff)
parentf07457b6ccb0ef6773b08c0e494df28a29c1b3e6 (diff)
Merge pull request #8616 from jordan-woyak/threshold-cleanup
InputCommon: Eliminate some duplicated button threshold logic.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h
index 7c72120dba..a5a6a95cd0 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.h
@@ -47,8 +47,6 @@ private:
static constexpr int AUTO_HIDE_MS = 2500;
static constexpr double AUTO_HIDE_DEADZONE = 0.001;
- static constexpr double BUTTON_THRESHOLD = 0.5;
-
// Not adjusted by width/height/center:
StateData m_state;