Logo Search packages:      
Sourcecode: synaptiks version File versions  Download package

QByteArray Touchpad::fingerButtons [read, write]

The mouse buttons triggered by tapping the touchpad with a given amount of fingers concurrently.

The list has three elements, interpreted as follows:

  • index 0: Tapping the touchpad with one finger
  • index 1: Tapping the touchpad with two fingers
  • index 2: Tapping the touchpad with three fingers

Each element is a numeric value of a mouse button. These are excatly the same the xserver sends to client applications, and that you can monitor with tools like xev. The following values are the most interesting:

  • value 1: Left mouse button
  • value 2: Middle mouse button
  • value 3: Right mouse button

A value of 0 disables taps with the corresponding amount of fingers.

For instance, the list (1, 3, 0) will have the following effects:

  • Tapping with one finger is like pressing the left mouse button.
  • Tapping with two fingers is like pressing the right mouse button.
  • When tapping the touchpad with three fingers, nothing will happen.

Multiple finger taps require special hardware support, which is not provided by all touchpads. Use capabilities or fingerDetection to check, how well the touchpad support multiple finger taps.

See also:
setFingerButtons(const QByteArray&)
fingerButtons() const

Definition at line 514 of file touchpad.h.

Generated by  Doxygen 1.6.0   Back to index