Commit Graph

30 Commits

Author SHA1 Message Date
matthieu
2219203c38 Use SA_RESETHAND rather than SA_ONESHOT
The latter is an obsolete non-standard, Linux only synonym for the
former. This caused syndaemon(1) to enter an an infinite loop whenever
it receives a SIGINT signal. Patch from  Luca Castagnini.  Thanks.
2017-10-29 09:29:52 +00:00
bru
d428134982 Don't use stale coordinates in the hysteresis filter.
OK mpi@
2017-03-07 19:07:56 +00:00
matthieu
537f62ba88 Update to xf86-input-synaptics 1.9.0 2017-01-22 09:54:53 +00:00
matthieu
fd18c20e72 regen 2016-10-11 22:14:30 +00:00
matthieu
466ceeb29f include <sys/time.h> before wsconsio.h 2016-09-12 22:12:44 +00:00
bru
f796d9564f Don't stop scrolling when handling TOUCH_RESET events.
To avoid jumps, the original version of the handler clears
the scroll flags. The method works well if a scroll gesture
continues, but it can preclude "coasting". The new version
adjusts the coordinates that determine the speed and direction
of scrolling.

ok shadchin@, mpi@
2016-04-22 23:06:53 +00:00
bru
a2c103ac08 Handle the TOUCH events from wsmouse.
With the changes for multitouch input, new event types have been
introduced in wsmouse. There are separate types for contact count
and width values, and RESET events for controlling/stopping
pointer motion.

ok mpi@, shadchin@
2016-03-30 23:33:34 +00:00
shadchin
4a90ef48da Update to xf86-input-synaptics 1.8.3.
ok matthieu@
2015-12-17 06:04:21 +00:00
shadchin
d1fc35bb69 Read multiple events at once.
Before:
Both drivers currently do one read(2) per event, but since we use a
"sync" event we have a least two of them for ws(4) but more commonly
3 for ws(4) and 4 for synaptics(4).

most of the code and ok mpi@
2015-08-29 08:48:28 +00:00
shadchin
8d5a4cf7fa Update to xf86-input-synaptics 1.8.2.
ok matthieu@
2015-04-11 16:08:42 +00:00
mpi
f19ea1ac3a Make sure the end of a motion is correctly detected even if the hardware
does not always report a 0 'w' value for two-finger contacts.

Diff from Ulf Brosziewski.

Fix a regression with Synaptics touchpads reported by Patrick keshishian
and Henrik Friedrichsen on misc@.

ok matthieu@, deraadt@
2015-03-06 22:49:34 +00:00
mpi
874cd889c2 Keep cumulative coordinates values in sync with absolute ones.
This improve "two-finger scrolling" on synaptics and will allow to
have proper "click-and-drag" support on elantech.

Note that this change is needed because wsmouse(4)/wscons(4) do not
support multitouch events for the moment and every protocol supported
by pms(4) do its own translation to fake such events.

From Ulf Brosziewski, ok shadchin@
2015-02-09 03:31:31 +00:00
shadchin
ba9b4799b8 Update to xf86-input-synaptics 1.8.1.
ok matthieu@
2015-01-24 17:43:59 +00:00
jsg
56b31a08cf Recognise the synaptics with sw buttons mouse type and set the
clickpad and has_secondary_buttons properties.

Initial diff from myself with additional changes from matthieu@
2015-01-15 01:30:40 +00:00
matthieu
f6a51272dd include <xf86.h> explicitely in preparation for xserver 1.16 2014-09-27 17:37:32 +00:00
shadchin
c896ccf8ec Update to xf86-input-synaptics 1.8.0.
ok matthieu@, tested claudio@
2014-05-17 17:18:21 +00:00
shadchin
7f7ca794d7 Update to xf86-input-synaptics 1.7.5.
ok matthieu@
2014-05-09 20:05:46 +00:00
shadchin
ffcddaf4c2 Update to xf86-input-synaptics 1.7.1.
ok mpi@ jcs@ matthieu@
2013-06-02 18:17:24 +00:00
stsp
606582ce05 Teach wsconscomm in synaptics(4) about elantech touchpads. ok mpi@ shadchin@ 2012-10-29 11:55:50 +00:00
shadchin
c433d84d71 Fix for ClickPad (xenocara part). On issue pointed gilles@ and matthieu@
ok gilles@, matthieu@, mpi@, miod@, deraadt@
2012-07-22 18:33:01 +00:00
shadchin
92df448a79 Update to xf86-input-synaptics 1.6.2
ok matthieu@, mpi@
2012-06-30 13:31:03 +00:00
shadchin
b1c43b246a Update to xf86-input-synaptics 1.6.1
ok matthieu@
2012-06-12 18:59:42 +00:00
shadchin
0b992a096a Update to xf86-input-synaptics 1.5.2.
ok matthieu@
2012-04-01 12:18:44 +00:00
shadchin
30c836d8ce Update to xf86-input-synaptics 1.5.0.
ok mpi@, matthieu@
2011-09-23 16:53:49 +00:00
shadchin
a8a33fb395 fix bug "lock up" touchpad ( not allowing to move the pointer, or click )
ok matthieu@
2011-07-17 13:53:00 +00:00
shadchin
83ee52a202 Add support new ioctl WSMOUSEIO_SETMODE.
ok matthieu@
2011-05-07 17:30:31 +00:00
matthieu
d43c4afa0a Skip the 'conf' directory which installs hal/udev Linux only stuff. 2011-04-25 18:49:37 +00:00
matthieu
590356dd1a Nuke bare RCS Id's 2011-04-25 18:46:10 +00:00
shadchin
9cb423af1a Add support wscons (upstream + implementation)
ok matthieu@
2011-04-10 12:04:29 +00:00
shadchin
eb14eec610 Import xf86-input-synaptics 1.4.0
ok matthieu@
2011-04-09 08:38:27 +00:00