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:
parent
6192412875
commit
7ed83da620
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user