Merge pull request #90635 from Twey/libinput-touchpad

libinput: ensure that we only apply touchpad options to touchpads
This commit is contained in:
Michele Guerini Rocco
2020-06-20 09:58:47 +02:00
committed by GitHub

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