summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused/moused.c
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2004-08-03 18:43:45 +0000
committerphilip <philip@FreeBSD.org>2004-08-03 18:43:45 +0000
commit81234cca4a890862a2410bb1de1a553a60c285a6 (patch)
treef96673d3c90341a5722d9525f48595b3643a5355 /usr.sbin/moused/moused.c
parent908064976f12f9778e9d1e45bb629e53a60031e7 (diff)
downloadFreeBSD-src-81234cca4a890862a2410bb1de1a553a60c285a6.zip
FreeBSD-src-81234cca4a890862a2410bb1de1a553a60c285a6.tar.gz
Teach moused about Synaptics touchpads.
While I'm here, document the existence of the '-l' option, which allows one to use moused to use psm in some more interesting ways. Approved by: njl (mentor)
Diffstat (limited to 'usr.sbin/moused/moused.c')
-rw-r--r--usr.sbin/moused/moused.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c
index 5a458e4..2866f0e 100644
--- a/usr.sbin/moused/moused.c
+++ b/usr.sbin/moused/moused.c
@@ -211,6 +211,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 },
};
@@ -1056,7 +1057,7 @@ usage(void)
fprintf(stderr, "%s\n%s\n%s\n%s\n",
"usage: moused [-DRcdfs] [-I file] [-F rate] [-r resolution] [-S baudrate]",
" [-a X [,Y]] [-C threshold] [-m N=M] [-w N] [-z N]",
- " [-t <mousetype>] [-3 [-E timeout]] -p <port>",
+ " [-t <mousetype>] [-l level] [-3 [-E timeout]] -p <port>",
" moused [-d] -i <port|if|type|model|all> -p <port>");
exit(1);
}
OpenPOWER on IntegriCloud