[PATCH:xf86-input-mouse 1/4] Enable MSE_MISC on NetBSD as well.

Thomas Klausner wiz at NetBSD.org
Sat Oct 19 01:26:31 CEST 2013


Any comments on these four patches?

Thanks,
 Thomas

On Mon, Aug 19, 2013 at 11:14:30AM +0200, Thomas Klausner wrote:
> Otherwise we can't find WSMouse.
> 
> From Matthew R. Green <mrg at NetBSD.org>
> Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
> ---
>  src/bsd_mouse.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/src/bsd_mouse.c b/src/bsd_mouse.c
> index ca4c9d0..98e5ff3 100644
> --- a/src/bsd_mouse.c
> +++ b/src/bsd_mouse.c
> @@ -97,9 +97,7 @@ static const char *mouseDevs[] = {
>  static int
>  SupportedInterfaces(void)
>  {
> -#if defined(__NetBSD__)
> -    return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO;
> -#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
> +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__NetBSD__)
>      return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO | MSE_MISC;
>  #else
>      return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_XPS2 | MSE_AUTO | MSE_MISC;
> -- 
> 1.8.3.3
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list