This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
jabashque 83cfc07394 vibrator: Ensure waveform_index and vmax is set for other effects
It seems that the DOUBLE_CLICK and HEAVY_CLICK effects assume that
`waveform_index` is always set to 1 and `vmax` is set to 1600, because
if the last played effect is TICK, then all the other effects (aside
from CLICK) end up feeling different, presumably because
`waveform_index` is left as set to 2 and `vmax` is left as set to 1600.

Fix this by having DOUBLE_CLICK and HEAVY_CLICK set `waveform_index`
back to 1 and `vmax` back to 1600.

Change-Id: Ic116f45894cf4af25bcd25b66764eeb472631af5
2022-10-21 17:40:04 +02:00
2022-06-28 15:54:24 +02:00
2022-07-11 11:52:44 -07:00
Description
Cherish OS A13 Dependency of OnePlus Nord(Avicii)
663 KiB
Languages
C++ 80.4%
Kotlin 12.4%
C 6%
Makefile 1%
Shell 0.2%