forked from mirrors/nixpkgs
libinput: ensure that we only apply touchpad options to touchpads
This commit is contained in:
parent
26521ad168
commit
912a58428c
|
@ -219,6 +219,7 @@ in {
|
|||
Section "InputClass"
|
||||
Identifier "libinputConfiguration"
|
||||
MatchDriver "libinput"
|
||||
MatchTag "Touchpad"
|
||||
${optionalString (cfg.dev != null) ''MatchDevicePath "${cfg.dev}"''}
|
||||
Option "AccelProfile" "${cfg.accelProfile}"
|
||||
${optionalString (cfg.accelSpeed != null) ''Option "AccelSpeed" "${cfg.accelSpeed}"''}
|
||||
|
|
Loading…
Reference in a new issue