feedback-vibra: Add support for patterns
Add a new class that takes an array of durations and magnitudes. A magnitude of 0 indicates a pause. We can consider dropping the VibraRumble class at some point as that is a special case of VibraPeriodic now however as the feedbacks are encoded in the themes let's make sure VibraPattern is good API before deprecating VibraRumble. Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
@@ -30,6 +30,7 @@ sources = [
|
||||
'fbd-feedback-sound.c',
|
||||
'fbd-feedback-theme.c',
|
||||
'fbd-feedback-vibra.c',
|
||||
'fbd-feedback-vibra-pattern.c',
|
||||
'fbd-feedback-vibra-periodic.c',
|
||||
'fbd-feedback-vibra-rumble.c',
|
||||
'fbd-theme-expander.c',
|
||||
|
||||
Reference in New Issue
Block a user