vibrator: Implement Oplus effects
Change-Id: Ic0cf2ed41a7d7fe55a6b5e1ea8418583981a62b0
This commit is contained in:
@@ -58,10 +58,11 @@ class LedVibratorDevice {
|
||||
public:
|
||||
LedVibratorDevice();
|
||||
int on(int32_t timeoutMs);
|
||||
int onWaveform(int waveformIndex);
|
||||
int off();
|
||||
bool mDetected;
|
||||
private:
|
||||
int write_value(const char *file, const char *value);
|
||||
int write_value(const char *file, int value);
|
||||
};
|
||||
|
||||
#ifdef TARGET_SUPPORTS_OFFLOAD
|
||||
|
||||
Reference in New Issue
Block a user