diff options
author | chasewu <chasewu@google.com> | 2019-10-02 20:49:22 +0800 |
---|---|---|
committer | chasewu <chasewu@google.com> | 2020-01-09 18:56:49 +0800 |
commit | 663cf782ee042d9b12a7e7993cf6dfcdefd99812 (patch) | |
tree | 832781c0d1f671d34309a742b5a15a8e65b70cba /device-bramble.mk | |
parent | 619195f40f9e31ad91d2e8c60050130fefa70d84 (diff) | |
download | bramble-663cf782ee042d9b12a7e7993cf6dfcdefd99812.tar.gz |
[DO NOT MERGE] vibrator: Add drv2624 1-3 version vibrator hal
1. Adopt the common vibrator HAL implementation for the DRV2624 controller.
2. Refine the vibrator hal property and add new calibration related
properties.
Bug: 143743603
Bug: 143743490
Bug: 143743721
Bug: 143743378
Test: manual cmd test
Change-Id: Idb9a4de506d3d1f868aded31e332ad97c5c61a2b
Signed-off-by: chasewu <chasewu@google.com>
Diffstat (limited to 'device-bramble.mk')
-rw-r--r-- | device-bramble.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/device-bramble.mk b/device-bramble.mk index 4014f60..a2d92a2 100644 --- a/device-bramble.mk +++ b/device-bramble.mk @@ -94,6 +94,20 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ android.hardware.vibrator@1.3-service.bramble +# DRV2624 Haptics Waveform +PRODUCT_COPY_FILES += \ + device/google/bramble/vibrator/drv2624/drv2624.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/drv2624.bin + +# Vibrator HAL +PRODUCT_PRODUCT_PROPERTIES +=\ + ro.vibrator.hal.config.dynamic=1 \ + ro.vibrator.hal.click.duration=8 \ + ro.vibrator.hal.tick.duration=8 \ + ro.vibrator.hal.heavyclick.duration=8 \ + ro.vibrator.hal.long.voltage=161 \ + ro.vibrator.hal.long.frequency.shift=0 \ + ro.vibrator.hal.steady.shape=1 + # Dumpstate HAL PRODUCT_PACKAGES += \ android.hardware.dumpstate@1.0-service.bramble |