summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-12-26 22:48:12 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2012-12-26 22:48:12 +0100
commit8f3595e05852e17af29c36445cb4939cf9ccb0cd (patch)
tree08389fc980b283064e1fcbeee9dbc60a256c99ce
parent1c090cd04f94593378511df63e5c2a1710abc770 (diff)
downloadplan9front-8f3595e05852e17af29c36445cb4939cf9ccb0cd.tar.xz
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.
-rw-r--r--sys/man/4/nusb11
-rw-r--r--sys/src/cmd/nusb/kb/kb.c4
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;