[Focal] Add vibration scaling support
On some devices such as the Volla Phones the vibration of e.g. keyboard taps is practically not providing any haptics at all currently; extending the requested vibration by e.g. 40ms (configurable via libdeviceinfo
as VibrateDurationExtraMs
) as similarly was possible on usensord
via VIBRATE_SCALE
env var makes it noticeable.
Currently I've gone with the usensord naming of Renamed to vibrateScale
for the variable but I'm personally not a fan of that as it doesn't explain how it's scaling the vibration by itself, so perhaps something more along the lines of vibrateDurationExtraMs
would be better?VibrateDurationExtraMs
now
Closes #6 (closed) for focal
.