[PATCH synaptics 2/6] synclient: remove 'm' and 'h' from getopt and man page
Peter Hutterer
peter.hutterer at who-t.net
Mon Mar 25 22:28:45 PDT 2013
Removed as of 83d88b253139f9c92d619e7ad7c3981138893536
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
man/synclient.man | 70 +------------------------------------------------------
tools/synclient.c | 2 +-
2 files changed, 2 insertions(+), 70 deletions(-)
diff --git a/man/synclient.man b/man/synclient.man
index 5938a32..291ce30 100644
--- a/man/synclient.man
+++ b/man/synclient.man
@@ -6,79 +6,16 @@
synclient \- commandline utility to query and modify Synaptics driver
options.
.SH "SYNOPSIS"
-.LP
-synclient [\fI\-m interval\fP]
.br
-synclient [\fI\-hlV?\fP] [var1=value1 [var2=value2] ...]
+synclient [\fI\-lV?\fP] [var1=value1 [var2=value2] ...]
.SH "DESCRIPTION"
.LP
This program lets you change your Synaptics TouchPad driver for
XOrg/XFree86 server parameters while X is running.
-For the -m and -h options, SHM must be enabled by setting the option SHMConfig
-"on" in your XOrg/XFree86 configuration.
.SH "OPTIONS"
.LP
.TP
-\fB\-m interval\fR
-monitor changes to the touchpad state.
-.
-Interval specifies how often (in ms) to poll the touchpad state.
-.
-Whenever a change in the touchpad state is detected, one line of
-output is generated that describes the current state of the touchpad.
-This option is only available in SHM mode.
-.
-The following data is included in the output.
-.RS
-.TP
-\fBtime\fR
-Time in seconds since the logging was started.
-.TP
-\fBx,y\fR
-The x/y coordinates of the finger on the touchpad.
-.
-The origin is in the upper left corner.
-.TP
-\fBz\fR
-The "pressure" value.
-.
-Pressing the finger harder on the touchpad typically produces a larger
-value.
-.
-Note that most touchpads don't measure the real pressure though.
-.
-Instead, capacitance is usually measured, which is correlated to the
-contact area between the finger and the touchpad.
-.
-Since more pressure usually means a larger contact area, the reported
-pressure value is at least indirectly related to the real pressure.
-.TP
-\fBf\fR
-The number of fingers currently touching the touchpad.
-.
-Note that only some touchpads can report more than one finger.
-.
-Generally, synaptics touchpads can, but ALPS touchpads can't.
-.TP
-\fBw\fR
-The w value is a measurement of the finger width.
-.
-This is only supported by some synaptics touchpads.
-.
-Touchpads that can't measure the finger width typically report a faked
-constant value when a finger is touching the touchpad.
-.TP
-\fBl,r,u,d,m,multi\fR
-The state of the left, right, up, down, middle and multi buttons.
-.
-Zero means not pressed, one means pressed.
-.
-Not all touchpads have all these buttons.
-.
-If a button doesn't exist, the value is always reported as 0.
-.RE
-.TP
\fB\-l\fR
List current user settings. This is the default if no option is given.
.TP
@@ -91,7 +28,6 @@ Show the help message.
\fBvar=value\fR
Set user parameter \fIvar\fR to \fIvalue\fR.
-
.SH "FILES"
.LP
\fI/etc/X11/xorg.conf\fP
@@ -102,10 +38,6 @@ Set user parameter \fIvar\fR to \fIvalue\fR.
To disable EdgeMotionSpeed:
.LP
synclient EdgeMotionSpeed=0
-.LP
-To monitor touchpad events (requires SHM):
-.LP
-synclient \-m 100
.SH "AUTHORS"
.LP
Peter Osterlund <petero2 at telia.com> and many others.
diff --git a/tools/synclient.c b/tools/synclient.c
index b6ea2e6..bb9be01 100644
--- a/tools/synclient.c
+++ b/tools/synclient.c
@@ -483,7 +483,7 @@ main(int argc, char *argv[])
dump_settings = 1;
/* Parse command line parameters */
- while ((c = getopt(argc, argv, "m:hlV")) != -1) {
+ while ((c = getopt(argc, argv, "lV")) != -1) {
switch (c) {
case 'l':
dump_settings = 1;
--
1.8.1.4
More information about the xorg-devel
mailing list