summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2019-11-09 23:34:51 +0100
committerGitHub <noreply@github.com>2019-11-09 23:34:51 +0100
commiteebc64aaf872917c4a7d480026545fe8a87d662f (patch)
tree1d9246ad8a7ca0a2e28815f64ae14341c9c88648 /Source/Core/InputCommon/ControllerInterface/DualShockUDPClient
parent07e2e1ca5a385cdab7bcf8ba8a9307b8c1805f6e (diff)
parent1180c231a697297f468020a56db236ef795101e5 (diff)
Merge pull request #8460 from jordan-woyak/evdev-motion-data
InputCommon: Detect when evdev exposes acceleration/gyroscope data.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp
index 60086d517c..9ed62e5285 100644
--- a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp
@@ -108,7 +108,7 @@ private:
int m_touch_y;
};
-static constexpr double GRAVITY_ACCELERATION = 9.80665;
+using MathUtil::GRAVITY_ACCELERATION;
static constexpr char DEFAULT_SERVER_ADDRESS[] = "127.0.0.1";
static constexpr u16 DEFAULT_SERVER_PORT = 26760;
static constexpr auto SERVER_REREGISTER_INTERVAL = std::chrono::seconds{1};