macbook: revert libinput quirk — it permanently inhibits the touchpad
The AttrKeyboardIntegration=internal quirk caused libinput's native DWT to permanently disable the touchpad. Keep the custom script. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
22c1b35360
commit
951ba2b850
1 changed files with 5 additions and 11 deletions
|
|
@ -32,17 +32,11 @@
|
||||||
HandleLidSwitchExternalPower = "suspend";
|
HandleLidSwitchExternalPower = "suspend";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Hint libinput that the Apple keyboard is internal, so its built-in
|
# Disable-while-typing daemon for the bcm5974 touchpad.
|
||||||
# DWT pairing works for the bcm5974 touchpad (keyboard and touchpad
|
# Hyprland's built-in DWT doesn't work because the keyboard and
|
||||||
# share the same USB device, which normally breaks pairing).
|
# touchpad share the same USB device, breaking libinput's pairing.
|
||||||
environment.etc."libinput/local-overrides.quirks".text = ''
|
# A libinput quirk (AttrKeyboardIntegration=internal) was tried but
|
||||||
[Apple MacBook Keyboard]
|
# caused libinput to permanently inhibit the touchpad.
|
||||||
MatchProduct=Apple Internal Keyboard
|
|
||||||
AttrKeyboardIntegration=internal
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Fallback DWT daemon in case the libinput quirk above isn't enough.
|
|
||||||
# TODO: remove this if the quirk works reliably.
|
|
||||||
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