sane-input-handler: bump volume hold time from 600ms -> 750ms

hopefully this decreases the number of volup inputs which are misread as volup-hold (which happens a lot when the screen is off...?)
This commit is contained in:
Colin 2024-05-19 00:34:23 +00:00
parent 1b24bd50f9
commit 0fc4f83fc9

View File

@ -36,7 +36,7 @@ let
in assert terminal -> events == []; events;
# trigger ${button}_hold_N every `holdTime` ms until ${button} is released
recurseHold = button: { count ? 1, maxHolds ? 5, prefix ? "", holdTime ? 600, ... }@opts: lib.optionalAttrs (count <= maxHolds) {
recurseHold = button: { count ? 1, maxHolds ? 5, prefix ? "", holdTime ? 750, ... }@opts: lib.optionalAttrs (count <= maxHolds) {
"${button}_released".terminal = true; # end the hold -> back to root state
timeout = {
ms = holdTime;