diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2019-11-08 18:23:22 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2019-11-09 13:34:29 -0600 |
| commit | 1180c231a697297f468020a56db236ef795101e5 (patch) | |
| tree | ca014c368b1bbb8ad003c459385c337ab481a51f /Source/Core/InputCommon/ControllerInterface/DualShockUDPClient | |
| parent | d8c62b5965df694fb5f93b617e356cae1f9441b7 (diff) | |
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.cpp | 2 |
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}; |
