macbook: reduce DWT timeout from 500ms to 300ms

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-18 17:32:51 +01:00
parent 8285fce24a
commit 80eda70088

View file

@ -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")):