input: add click method and middle button emulation
This commit is contained in:
parent
0524e01a3c
commit
b20153550e
24 changed files with 598 additions and 21 deletions
|
|
@ -1372,6 +1372,20 @@ Input:
|
|||
description: |
|
||||
Whether the device uses natural scrolling.
|
||||
|
||||
See the libinput documentation for more details.
|
||||
middle-button-emulation:
|
||||
kind: boolean
|
||||
required: false
|
||||
description: |
|
||||
Converts a simultaneous left and right button click into a middle button click.
|
||||
|
||||
See the libinput documentation for more details.
|
||||
click-method:
|
||||
ref: ClickMethod
|
||||
required: false
|
||||
description: |
|
||||
Defines how button events are triggered on a clickable touchpad.
|
||||
|
||||
See the libinput documentation for more details.
|
||||
px-per-wheel-scroll:
|
||||
kind: boolean
|
||||
|
|
@ -1524,6 +1538,23 @@ AccelProfile:
|
|||
See the libinput documentation for more details.
|
||||
|
||||
|
||||
ClickMethod:
|
||||
kind: string
|
||||
values:
|
||||
- value: none
|
||||
description: No click method handling.
|
||||
- value: button-areas
|
||||
description: Bottom area of the touchpad is divided into a left, middle and right button area.
|
||||
- value: clickfinger
|
||||
description: |
|
||||
Number of fingers on the touchpad decide the button type.
|
||||
Clicking with 1, 2, 3 fingers triggers a left, right, or middle click, respectively.
|
||||
description: |
|
||||
The click method to apply to an input device.
|
||||
|
||||
See the libinput documentation for more details.
|
||||
|
||||
|
||||
LogLevel:
|
||||
kind: string
|
||||
description: A log level.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue