input_common: cache vibration tests

This commit is contained in:
german77 2022-10-21 00:23:12 -05:00
parent 6b71530fa8
commit 7f66050f0c
10 changed files with 93 additions and 57 deletions

View file

@ -100,7 +100,6 @@ enum class CameraError {
enum class VibrationAmplificationType {
Linear,
Exponential,
Test,
};
// Analog properties for calibration
@ -325,6 +324,10 @@ public:
return VibrationError::NotSupported;
}
virtual bool IsVibrationEnabled() {
return false;
}
virtual PollingError SetPollingMode([[maybe_unused]] PollingMode polling_mode) {
return PollingError::NotSupported;
}