Merge pull request #4291 from german77/ImplementControllerRumble

input_common: First implementation of controller rumble
This commit is contained in:
David 2020-09-30 21:24:11 +10:00 committed by GitHub
commit 4d0ae1a17a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 63 additions and 14 deletions

View file

@ -33,6 +33,9 @@ public:
virtual bool GetAnalogDirectionStatus(AnalogDirection direction) const {
return {};
}
virtual bool SetRumblePlay(f32 amp_high, f32 amp_low, f32 freq_high, f32 freq_low) const {
return {};
}
};
/// An abstract class template for a factory that can create input devices.