From 80eda700883a7ec10b33af421330755de2c9960a Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 18 May 2026 17:32:51 +0100 Subject: [PATCH] macbook: reduce DWT timeout from 500ms to 300ms Co-Authored-By: Claude Opus 4.6 --- hosts/FredOS-Macbook.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/FredOS-Macbook.nix b/hosts/FredOS-Macbook.nix index d0fc290..b0a2bed 100644 --- a/hosts/FredOS-Macbook.nix +++ b/hosts/FredOS-Macbook.nix @@ -48,7 +48,7 @@ import glob, os, select, struct, time EVENT_SIZE = struct.calcsize("llHHi") EV_KEY = 0x01 -DWT_TIMEOUT = 0.5 +DWT_TIMEOUT = 0.3 def find_event(name): for p in sorted(glob.glob("/sys/class/input/event*/device/name")):