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)
This commit is contained in:
Philip Paeps 2004-08-03 18:43:45 +00:00
parent b74851fe56
commit 33282bf4aa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133083
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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);
}