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

Thomas Klausner wiz at NetBSD.org
Mon Aug 19 02:14:30 PDT 2013


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



More information about the xorg-devel mailing list