X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/70ccbb6b59534e9e261f8831dd0dccd133701ee9..ad9f8794f2f018b4187756bfd362eed57d8498ea:/usr.sbin/moused/moused.c diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c index ce8f0c5181..7047b051e8 100644 --- a/usr.sbin/moused/moused.c +++ b/usr.sbin/moused/moused.c @@ -46,10 +46,9 @@ /* * $FreeBSD: src/usr.sbin/moused/moused.c,v 1.69 2005/01/06 08:38:29 philip Exp $ - * $DragonFly: src/usr.sbin/moused/moused.c,v 1.7 2008/11/12 21:44:59 swildner Exp $ */ #include -#include +#include #include #include #include @@ -223,6 +222,7 @@ static symtab_t rmodels[] = { { "IntelliMouse Explorer", MOUSE_MODEL_EXPLORER }, { "4D Mouse", MOUSE_MODEL_4D }, { "4D+ Mouse", MOUSE_MODEL_4DPLUS }, + { "Synaptics Touchpad", MOUSE_MODEL_SYNAPTICS }, { "generic", MOUSE_MODEL_GENERIC }, { NULL, MOUSE_MODEL_UNKNOWN }, }; @@ -758,15 +758,6 @@ main(int argc, char *argv[]) /* the default port name */ switch(rodent.rtype) { - case MOUSE_PROTO_INPORT: - /* INPORT and BUS are the same... */ - rodent.rtype = MOUSE_PROTO_BUS; - /* FALLTHROUGH */ - case MOUSE_PROTO_BUS: - if (!rodent.portname) - rodent.portname = "/dev/mse0"; - break; - case MOUSE_PROTO_PS2: if (!rodent.portname) rodent.portname = "/dev/psm0";