From 94cfbe70671b057c1297affe089f2e09b031aba5 Mon Sep 17 00:00:00 2001 From: chasewu Date: Tue, 14 Jul 2020 18:25:07 +0800 Subject: [PATCH] vibrator: Updare haptic tuning setting V5 (IMU) Click 1: [vibrator.hal.effect.strength1]: [275] Click 2: [vibrator.hal.effect.strength2]: [550] Click 3: [vibrator.hal.effect.strength3]: [600] Click 4: [vibrator.hal.effect.strength4]: [900] Click 5: [vibrator.hal.effect.strength5]: [1120] High motion: [vibrator.hal.steady.strength1]: [2000] Non-motion: [vibrator.hal.steady.strength3]: [1300] Duration bin file as attachment Texture tick 6ms TICK 6ms CLICK 6ms DOUBLE_CLICKS 8 + 139+ 12 ms HEAVY_CLICK 6ms Bug: 161413239 Test: build pass Signed-off-by: chasewu Change-Id: I54df53382e98887bebf1f986eb15c177f4459e72 --- vibrator/drv2624/Vibrator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vibrator/drv2624/Vibrator.cpp b/vibrator/drv2624/Vibrator.cpp index 90bbcb1..89b62da 100644 --- a/vibrator/drv2624/Vibrator.cpp +++ b/vibrator/drv2624/Vibrator.cpp @@ -60,7 +60,7 @@ static constexpr char WAVEFORM_HEAVY_CLICK_EFFECT_SEQ[] = "4 0"; // UT team design those target G values static std::array EFFECT_TARGET_G = {0.275, 0.55, 0.6, 0.9, 1.12}; -static std::array STEADY_TARGET_G = {2.0, 1.145, 1.0}; +static std::array STEADY_TARGET_G = {2.0, 1.145, 1.3}; struct SensorContext { ASensorEventQueue *queue;