// Copyright 2019 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include #include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h" #include "InputCommon/ControllerEmu/Setting/NumericSetting.h" #include "InputCommon/ControllerInterface/CoreDevice.h" namespace ControllerEmu { class IMUCursor : public ControlGroup { public: IMUCursor(std::string name, std::string ui_name); // Yaw movement in radians. ControlState GetTotalYaw() const; ControlState GetAccelWeight() const; private: SettingValue m_yaw_setting; SettingValue m_accel_weight_setting; }; } // namespace ControllerEmu