mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "vibrator: aidl: add primitive LOW_TICK"
This commit is contained in:
@@ -26,4 +26,5 @@ enum CompositePrimitive {
|
||||
SLOW_RISE = 5,
|
||||
QUICK_FALL = 6,
|
||||
LIGHT_TICK = 7,
|
||||
LOW_TICK = 8,
|
||||
}
|
||||
|
||||
@@ -70,4 +70,11 @@ enum CompositePrimitive {
|
||||
* Support is required.
|
||||
*/
|
||||
LIGHT_TICK,
|
||||
/**
|
||||
* This very short low frequency effect should produce a light crisp sensation intended
|
||||
* to be used repetitively for dynamic feedback.
|
||||
*
|
||||
* Support is required.
|
||||
*/
|
||||
LOW_TICK,
|
||||
}
|
||||
|
||||
@@ -119,6 +119,7 @@ ndk::ScopedAStatus Vibrator::getSupportedPrimitives(std::vector<CompositePrimiti
|
||||
CompositePrimitive::THUD, CompositePrimitive::SPIN,
|
||||
CompositePrimitive::QUICK_RISE, CompositePrimitive::SLOW_RISE,
|
||||
CompositePrimitive::QUICK_FALL, CompositePrimitive::LIGHT_TICK,
|
||||
CompositePrimitive::LOW_TICK,
|
||||
};
|
||||
return ndk::ScopedAStatus::ok();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user