libinput  0.3.0
A wrapper library for input devices
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Touchpad button behavior

For touchpad devices without physical buttons, libinput enables an emulated right button area through either of two methods.

Software button areas

On most touchpads, the bottom area of the touchpad is split into a a left and a right-button area. Pressing the touchpad down with a finger in those areas will generate clicks as shown in the diagram below:

+------------------------+
| |
| |
| LEFT |
| |
| |
+------------------------+
| LEFT | RIGHT |
+------------------------+

Generally, the touchpad will emulate a right-button click if the finger was set down in the right button area and did not leave the right button area before clicking, even if another finger was already down on the touchpad in another area. A middle click is generated by clicking the touchpad when one finger is in the bottom left button area, and one finger is in the botton right button area. The exact behavior of the touchpad is implementation-dependent.

Clickfinger

On Apple touchpads, no button areas are provided. Instead, use a two-finger click for a right button click, and a three-finger click for a middle button click.