From fdd1bdfd4d11ddce6885869047d7b4e8e793e708 Mon Sep 17 00:00:00 2001 From: eddielan Date: Fri, 3 Jul 2020 17:13:47 +0800 Subject: [PATCH] vibrator: Update haptic tuning setting V4(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]: [1000] Bug: 160444095 Test: Build Pass Change-Id: Ied7f75d7d6b5b5a23e4cc42d323f05ecb3001c00 --- 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 76d442b..90bbcb1 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.1, 1.145, 0.82}; +static std::array STEADY_TARGET_G = {2.0, 1.145, 1.0}; struct SensorContext { ASensorEventQueue *queue;