macbook: reduce DWT timeout from 500ms to 300ms
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8285fce24a
commit
80eda70088
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ import glob, os, select, struct, time
|
||||||
|
|
||||||
EVENT_SIZE = struct.calcsize("llHHi")
|
EVENT_SIZE = struct.calcsize("llHHi")
|
||||||
EV_KEY = 0x01
|
EV_KEY = 0x01
|
||||||
DWT_TIMEOUT = 0.5
|
DWT_TIMEOUT = 0.3
|
||||||
|
|
||||||
def find_event(name):
|
def find_event(name):
|
||||||
for p in sorted(glob.glob("/sys/class/input/event*/device/name")):
|
for p in sorted(glob.glob("/sys/class/input/event*/device/name")):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue