macbook: disable touchpad while typing
The bcm5974 trackpad is classified as a mouse by Hyprland, not a touchpad, so the global touchpad DWT setting had no effect. Use a per-device config block to apply disable_while_typing directly to the bcm5974. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
28bac0dd46
commit
dc7845a7b9
1 changed files with 8 additions and 0 deletions
|
|
@ -146,6 +146,14 @@ in
|
||||||
tap_to_click = true;
|
tap_to_click = true;
|
||||||
tap_button_map = "lrm";
|
tap_button_map = "lrm";
|
||||||
natural_scroll = true;
|
natural_scroll = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
device = lib.optionalAttrs isMacbook {
|
||||||
|
"bcm5974" = {
|
||||||
|
sensitivity = 0;
|
||||||
|
accel_profile = "flat";
|
||||||
|
natural_scroll = true;
|
||||||
disable_while_typing = true;
|
disable_while_typing = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue