AnalogController: Show controller number in OSD messages
This commit is contained in:
parent
95468901f2
commit
9539ce032b
6 changed files with 16 additions and 15 deletions
|
|
@ -38,7 +38,7 @@ float Controller::GetVibrationMotorStrength(u32 motor)
|
|||
return 0.0f;
|
||||
}
|
||||
|
||||
std::unique_ptr<Controller> Controller::Create(System* system, ControllerType type)
|
||||
std::unique_ptr<Controller> Controller::Create(System* system, ControllerType type, u32 index)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
|
|
@ -46,7 +46,7 @@ std::unique_ptr<Controller> Controller::Create(System* system, ControllerType ty
|
|||
return DigitalController::Create();
|
||||
|
||||
case ControllerType::AnalogController:
|
||||
return AnalogController::Create(system);
|
||||
return AnalogController::Create(system, index);
|
||||
|
||||
case ControllerType::NamcoGunCon:
|
||||
return NamcoGunCon::Create(system);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue