13 Commits

Author SHA1 Message Date
Alan Coopersmith
252ca68fef syndaemon: add -V option to print version
Matches synclient -V

Also updates man page to include missing -v option that was listed
in the usage output.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-synaptics/-/merge_requests/25>
2025-04-27 16:33:47 -07:00
Alan Coopersmith
a072d695bc Improve man page formatting
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-synaptics/-/merge_requests/24>
2025-04-27 12:30:09 -07:00
Peter Hutterer
17bbcad280 Revert "Add another third state to TouchpadOff for disabling all but button clicks"
This third state is not needed, the behaviour of the touchpad driver is now
good enough to not need an external syndaemon instance to toggle this third
state.

This reverts commit eea7335876.

Conflicts:
	man/synaptics.man
	src/synaptics.c

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-03-12 14:13:18 +10:00
Peter Hutterer
eea7335876 Add another third state to TouchpadOff for disabling all but button clicks
On a new set of laptops like the Lenovo T440 the trackstick does not have
physical buttons. Instead, the touchpad's top edge is supposed to acts
software button area. To avoid spurious cursor jumps when the trackstick is in
use and the finger is resting on the touchpad, add another mode that disables
motion events.

Enabled by syndaemon with -t click-only, the default stays unchanged. No
specific integration with the traditional disable-while-typing is needed. On
such touchpads, disabling motion events is sufficient to avoid spurious
events and we don't want to stop HW buttons to send events.

Note that this only adds the new state to the driver and to syndaemon, there
is nothing hooked up otherwise to actually monitor the trackstick.

Special note for syndaemon: optional arguments are a GNU extension, so work
around it by messing with an optstring starting with ":" which allows us to
manually parse the options.

Original version of this patch by John Pham <jhnphm@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-02-24 08:25:29 +10:00
Peter Hutterer
109ce14ae1 syndaemon: list -? in help/man page
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-03-26 15:21:54 +10:00
Peter Hutterer
ba53d85025 syndaemon: document exit codes and change them to fall into categories.
Changing pid file creation failure to same exit code that fork() failure
uses.

Changing XRECORD init failure to unique code. This way clients can trap
exit code 4 and re-start syndaemon without the -R flag.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-28 11:12:23 +10:00
Peter Hutterer
8d0d011cda man: remove documentation for -s switch, SHM is gone.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-28 11:10:35 +10:00
Peter Hutterer
72d5b48869 man: document syndaemon -m switch
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-28 11:10:32 +10:00
Peter Hutterer
45851dbfe6 man: s/SYNTAX/SYNOPSIS/ (#9515)
X.Org Bug 9515 <http://bugs.freedesktop.org/show_bug.cgi?id=9515>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-07 21:49:49 +10:00
Peter Hutterer
575616521a syndaemon: disable XRecord by default.
XRecord is disabled in the server by default, so let's not have it as default
here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
2009-03-04 11:26:52 +10:00
Peter Hutterer
bc395e89d2 syndaemon: use device properties unless SHM is requested.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
2009-03-04 11:26:49 +10:00
Andre Herms
eda5153312 use Xrecord extension for event triggered key event notification
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Christoph Brill <egore911@egore911.de>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2009-01-12 11:08:24 +10:00
Christoph Brill
a2e1f9e0a2 Build the manpages for the synclient and syndaemon
This uses the facilities to build the drivers man page to also build the
two configuration programs.
2008-07-11 19:34:14 +02:00