From 8f3595e05852e17af29c36445cb4939cf9ccb0cd Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 26 Dec 2012 22:48:12 +0100 Subject: nusb/kb: remove mouse acceleration -a flag mouse acceleration can be done by software in the kernels devmouse device like: echo hwaccel off >/dev/mousectl echo accelerated 5 >/dev/mousectl it is hard to pass nusb/kb parameters anyway as it is started from nusbrc in bootfs.paq, so i remove the option. --- sys/man/4/nusb | 11 +---------- sys/src/cmd/nusb/kb/kb.c | 4 +--- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/sys/man/4/nusb b/sys/man/4/nusb index 427e424c6..d420bd50d 100644 --- a/sys/man/4/nusb +++ b/sys/man/4/nusb @@ -32,10 +32,7 @@ usbd - Universal Serial Bus drivers .B nusb/kb [ .B -d -] [ -.B -a -.I n -] +] .I devid .PP .B nusb/serial @@ -117,12 +114,6 @@ process them. Mouse events are sent to .BR /dev/mousein in the same way. -.PP -The option -.B \-a -accelerates the mouse to level -.I n -(similar to the kernel's mouse driver acceleration). .SS Disks .I Disk configures and manages USB mass storage devices. It diff --git a/sys/src/cmd/nusb/kb/kb.c b/sys/src/cmd/nusb/kb/kb.c index d819d41ba..86a4bba77 100644 --- a/sys/src/cmd/nusb/kb/kb.c +++ b/sys/src/cmd/nusb/kb/kb.c @@ -779,7 +779,7 @@ Err: static void usage(void) { - fprint(2, "usage: %s [-d] [-a n] devid\n", argv0); + fprint(2, "usage: %s [-d] devid\n", argv0); threadexits("usage"); } @@ -792,8 +792,6 @@ threadmain(int argc, char* argv[]) Usbdev *ud; ARGBEGIN{ - case 'a': - break; case 'd': debug++; break; -- cgit v1.2.3