[PATCH] Feature: synaptic three-finger swipe action

Arkadiusz Bokowy (Arkq) arkadiusz.bokowy at gmail.com
Sun Mar 9 14:58:15 PDT 2014


When touchpad can report more then 2 active fingers, we can generate
action based on swipe gesture. It includes upward, downward, to the
left and to the right swipes. To all of those gestures can be assigned
one button event. By default (internal driver default) swipes are
disabled (assigned button 0). The swipe length (hand displacement)
required for triggering button event can be set independently for
horizontal and vertical movement. There is also possibility for
triggering repeatable events during swipe handling, however it is
disabled by default.

The most preferable button assignment is button 8, 9, 10 and 11 for to
the left, to the right, upward and downward swipes respectively. Such a
configuration provides browser history navigation (e.g. Firefox) with
horizontal swipes. Button 10 and 11 are not used, though.

Added Synaptic driver options:
* SwipeUpButton, SwipeDownButton, SwipeLeftButton, SwipeRightButton
* HorizSwipeThreshold, VertSwipeThreshold
* SingleSwipe

This changes was developed on Samsung NP530U3C with ETPS/2 Elantech
Touchpad, which can report up to three-finger touch. Patch is generated
for driver version 1.7.1 (which is marked as stable in Gentoo linux
distribution). If it is required I can try to test this patch for
latest master commit, however as for now I didn't want to break my box
by switching to the unstable (as marked by Gentoo portage team) driver
version.

Driver X.log signature:
Module synaptics: vendor="X.Org Foundation"
   compiled for 1.14.3, module version = 1.7.1
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 19.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Feature-synaptic-three-finger-swipe-action.patch
Type: text/x-patch
Size: 17393 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140309/e7198606/attachment.bin>


More information about the xorg-devel mailing list