[PATCH synaptics] conf: fix snippet to ignore /dev/input/mouse* on Linux

Dan Nicholson dbn.lists at gmail.com
Mon Jun 27 05:33:00 PDT 2011


On Sun, Jun 26, 2011 at 11:35 PM, Daniel Kurtz <djkurtz at google.com> wrote:
> Added '*' to match any and all mouse devices.
>
> Signed-off-by: Daniel Kurtz <djkurtz at google.com>
> ---
>  conf/50-synaptics.conf |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/conf/50-synaptics.conf b/conf/50-synaptics.conf
> index 2c32923..5ec7e78 100644
> --- a/conf/50-synaptics.conf
> +++ b/conf/50-synaptics.conf
> @@ -21,6 +21,6 @@ Section "InputClass"
>         Identifier "touchpad ignore duplicates"
>         MatchIsTouchpad "on"
>         MatchOS "Linux"
> -        MatchDevicePath "/dev/input/mouse"
> +        MatchDevicePath "/dev/input/mouse*"
>         Option "Ignore" "on"
>  EndSection

Seems right. In fact, I only have /dev/input/mouse0 on my system.

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>


More information about the xorg-devel mailing list