Touchégg – Linux multi-touch gesture recognizer
Quoting: Touchégg - Linux multi-touch gesture recognizer - LinuxLinks —
Touchégg is a program that runs in the background and transform the gestures you make on your touchpad or touchscreen into visible actions in your desktop. The program recognizes gestures, translates them to more conventional types of events and/or performs custom actions in response to them.
For example, you can swipe up with 3 fingers to maximize a window or swipe left with 4 finger to switch to the next desktop.
Many more actions and gestures are available and everything is easily configurable.
The program relies on libinput, a library that provides a full input stack for display servers and other applications that need to handle input devices provided by the kernel. libinput provides device detection, event handling and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect. Input event processing includes scaling touch coordinates, generating relative pointer events from touchpads, pointer acceleration, etc.
Note that Touchégg only works with X11; there is no support for Wayland.