AnalogController: Rumble support

This commit is contained in:
Connor McLaughlin
2019-12-15 23:22:53 +10:00
parent 1d2bd11b02
commit cbcb9b02b0
4 changed files with 88 additions and 8 deletions

View File

@ -26,6 +26,16 @@ void Controller::SetAxisState(s32 axis_code, float value) {}
void Controller::SetButtonState(s32 button_code, bool pressed) {}
u32 Controller::GetVibrationMotorCount() const
{
return 0;
}
float Controller::GetVibrationMotorStrength(u32 motor)
{
return 0.0f;
}
std::unique_ptr<Controller> Controller::Create(ControllerType type)
{
switch (type)