| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <string> |
| 7 |
|
| 8 |
#include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h" |
| 9 |
#include "InputCommon/ControllerEmu/Setting/NumericSetting.h" |
| 10 |
#include "InputCommon/ControllerInterface/CoreDevice.h" |
| 11 |
|
| 12 |
namespace ControllerEmu |
| 13 |
{ |
| 14 |
class IMUCursor : public ControlGroup |
| 15 |
{ |
| 16 |
public: |
| 17 |
IMUCursor(std::string name, std::string ui_name); |
| 18 |
|
| 19 |
|
| 20 |
ControlState GetTotalYaw() const; |
| 21 |
|
| 22 |
ControlState GetAccelWeight() const; |
| 23 |
|
| 24 |
private: |
| 25 |
SettingValue<double> m_yaw_setting; |
| 26 |
SettingValue<double> m_accel_weight_setting; |
| 27 |
}; |
| 28 |
} |