diff options
author | philip <philip@FreeBSD.org> | 2004-08-03 18:43:45 +0000 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2004-08-03 18:43:45 +0000 |
commit | 81234cca4a890862a2410bb1de1a553a60c285a6 (patch) | |
tree | f96673d3c90341a5722d9525f48595b3643a5355 /usr.sbin/moused | |
parent | 908064976f12f9778e9d1e45bb629e53a60031e7 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/moused/moused.8 | 10 | ||||
-rw-r--r-- | usr.sbin/moused/moused.c | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/moused/moused.8 b/usr.sbin/moused/moused.8 index 99699c2..130e268 100644 --- a/usr.sbin/moused/moused.8 +++ b/usr.sbin/moused/moused.8 @@ -49,6 +49,7 @@ .Op Fl w Ar N .Op Fl z Ar target .Op Fl t Ar mousetype +.Op Fl l Ar level .Op Fl 3 Op Fl E Ar timeout .Fl p Ar port .Pp @@ -208,6 +209,15 @@ If the .Nm utility cannot determine the requested information, it prints ``unknown'' or ``generic''. +.It Fl l Ar level +Specifies at which level +.Nm +should operate the mouse driver. +Refer to +.Em Operation Levels +in +.Xr psm 4 +for more information on this. .It Fl m Ar N=M Assign the physical button .Ar M 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); } |