Skip to content

[Focal] Add vibration scaling support

Jami Kettunen requested to merge deathmist/hfd-service:focal-vibrate-scale into main

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 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? Renamed to VibrateDurationExtraMs now

Closes #6 (closed) for focal.

Edited by Jami Kettunen

Merge request reports