AnalogController: Show controller number in OSD messages
This commit is contained in:
@ -41,10 +41,10 @@ public:
|
||||
|
||||
static constexpr u8 NUM_MOTORS = 2;
|
||||
|
||||
AnalogController(System* system);
|
||||
AnalogController(System* system, u32 index);
|
||||
~AnalogController() override;
|
||||
|
||||
static std::unique_ptr<AnalogController> Create(System* system);
|
||||
static std::unique_ptr<AnalogController> Create(System* system, u32 index);
|
||||
static std::optional<s32> StaticGetAxisCodeByName(std::string_view axis_name);
|
||||
static std::optional<s32> StaticGetButtonCodeByName(std::string_view button_name);
|
||||
static AxisList StaticGetAxisNames();
|
||||
@ -130,6 +130,7 @@ private:
|
||||
void SetMotorState(u8 motor, u8 value);
|
||||
|
||||
System* m_system;
|
||||
u32 m_index;
|
||||
|
||||
bool m_analog_mode = false;
|
||||
bool m_analog_locked = false;
|
||||
|
||||
Reference in New Issue
Block a user