macbook: fix native DWT via hwdb touchpad integration override
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
f1212e72c8
commit
4f99ea2019
1 changed files with 11 additions and 5 deletions
|
|
@ -39,11 +39,17 @@
|
||||||
HandleLidSwitchExternalPower = "suspend";
|
HandleLidSwitchExternalPower = "suspend";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Disable-while-typing daemon for the bcm5974 touchpad.
|
# systemd's hwdb tags USB touchpads external (no Apple exception
|
||||||
# Hyprland's built-in DWT doesn't work because the keyboard and
|
# upstream), so libinput refuses to offer DWT on the bcm5974
|
||||||
# touchpad share the same USB device, breaking libinput's pairing.
|
# (ID_INPUT_TOUCHPAD_INTEGRATION=external). Force internal so
|
||||||
# A libinput quirk (AttrKeyboardIntegration=internal) was tried but
|
# libinput's native DWT pairing with the internal keyboard works.
|
||||||
# caused libinput to permanently inhibit the touchpad.
|
services.udev.extraHwdb = ''
|
||||||
|
touchpad:usb:v05acp0291:*
|
||||||
|
ID_INPUT_TOUCHPAD_INTEGRATION=internal
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Fallback DWT daemon for the bcm5974 touchpad.
|
||||||
|
# TODO: remove once native libinput DWT (hwdb fix above) is verified.
|
||||||
systemd.services.macbook-dwt = {
|
systemd.services.macbook-dwt = {
|
||||||
description = "Disable touchpad while typing (bcm5974)";
|
description = "Disable touchpad while typing (bcm5974)";
|
||||||
after = [ "systemd-udevd.service" ];
|
after = [ "systemd-udevd.service" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue