AnalogController: Show controller number in OSD messages

This commit is contained in:
Connor McLaughlin
2020-05-08 15:32:39 +10:00
parent 95468901f2
commit 9539ce032b
6 changed files with 16 additions and 15 deletions

View File

@ -49,7 +49,7 @@ public:
virtual float GetVibrationMotorStrength(u32 motor);
/// Creates a new controller of the specified type.
static std::unique_ptr<Controller> Create(System* system, ControllerType type);
static std::unique_ptr<Controller> Create(System* system, ControllerType type, u32 index);
/// Gets the integer code for an axis in the specified controller type.
static std::optional<s32> GetAxisCodeByName(ControllerType type, std::string_view axis_name);