libinput: ensure that we only apply touchpad options to touchpads

This commit is contained in:
James Kay 2020-06-16 20:44:10 +01:00
parent 26521ad168
commit 912a58428c

View File

@ -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}"''}