CommonHostInterface: Reimplement controller rumble support

Even better than before, supports separate motor control.
This commit is contained in:
Connor McLaughlin
2020-04-14 16:34:39 +10:00
parent 7677c95fa7
commit d9ebb975b2
16 changed files with 242 additions and 38 deletions

View File

@ -436,3 +436,8 @@ Controller::ButtonList AnalogController::StaticGetButtonNames()
B(Square), B(L1), B(L2), B(R1), B(R2), B(L3), B(R3)};
#undef B
}
u32 AnalogController::StaticGetVibrationMotorCount()
{
return NUM_MOTORS;
}