InputCommon: Detect when evdev exposes acceleration/gyroscope data.

This commit is contained in:
Jordan Woyak
2019-11-08 18:23:22 -06:00
parent d8c62b5965
commit 1180c231a6
5 changed files with 155 additions and 76 deletions

View File

@ -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};