diff --git a/doc/scripts/calibration-helper.bash b/doc/scripts/calibration-helper.bash index 72effe3a..cd2d7d7b 100755 --- a/doc/scripts/calibration-helper.bash +++ b/doc/scripts/calibration-helper.bash @@ -50,7 +50,7 @@ SERIAL=$(udevadm info "$SYSPATH" --query=property | \ [ -z "$SERIAL" ] && exit 1 # You'd have this write a file instead. -echo "ACTION==\"add|change\",SUBSYSTEM==\"input\",ENV{ID_SERIAL}==\"$SERIAL\",ENV{LIBINPUT_CALIBRATION_MATRIX}=\"$MATRIX\"" +echo "ACTION!=\"remove\",SUBSYSTEM==\"input\",ENV{ID_SERIAL}==\"$SERIAL\",ENV{LIBINPUT_CALIBRATION_MATRIX}=\"$MATRIX\"" # Then you'd tell udev to reload the rules: #udevadm control --reload