diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2013-08-19 11:14:30 +0200 |
---|---|---|
committer | Thomas Klausner <wiz@NetBSD.org> | 2014-03-30 18:36:29 +0200 |
commit | e2cb94b0f3f555f4b1744d63caa587c804f942a2 (patch) | |
tree | 3ced1c1aa5ae8fae3a8dcb04a4618a766a677ac5 | |
parent | ea504b225f7cbedced9466bbf09ebfa43f39dcfb (diff) | |
download | xorg-driver-xf86-input-mouse-e2cb94b0f3f555f4b1744d63caa587c804f942a2.tar.gz |
Enable MSE_MISC on NetBSD as well.
Otherwise we can't find WSMouse.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
From Matthew R. Green <mrg@NetBSD.org>
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
-rw-r--r-- | src/bsd_mouse.c | 4 |
1 files changed, 1 insertions, 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; |