diff before and after patch for wsconsctl output:

 keyboard.repeat.deln.default=100
 keyboard.ledstate=0
 keyboard.encoding=us.swapctrlcaps
-mouse.type=unknown_15
+mouse.type=synaptics
 mouse.rawmode=0
 mouse.scale=1472,5888,1408,5012,0,88,143
 mouse1.type=usb


Index: util.c
===================================================================
RCS file: /cvs/obsd/src/sbin/wsconsctl/util.c,v
retrieving revision 1.53
diff -u -p util.c
--- util.c      2 Jul 2010 15:47:58 -0000       1.53
+++ util.c      15 Sep 2011 04:14:21 -0000
@@ -87,7 +87,8 @@ static const struct nameint mstype_tab[] = {
        { WSMOUSE_TYPE_LUNA,    "luna" },
        { WSMOUSE_TYPE_DOMAIN,  "domain" },
        { WSMOUSE_TYPE_BLUETOOTH, "bluetooth" },
-       { WSMOUSE_TYPE_SUN,     "sun" }
+       { WSMOUSE_TYPE_SUN,     "sun" },
+       { WSMOUSE_TYPE_SYNAPTICS,       "synaptics" }
 };
 
 static const struct nameint dpytype_tab[] = {

Reply via email to