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
|
|
@ -500,6 +500,15 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ClickMethod": {
|
||||
"type": "string",
|
||||
"description": "The click method to apply to an input device.\n\nSee the libinput documentation for more details.\n",
|
||||
"enum": [
|
||||
"none",
|
||||
"button-areas",
|
||||
"clickfinger"
|
||||
]
|
||||
},
|
||||
"ClientMatch": {
|
||||
"description": "Criteria for matching clients.\n\nIf no fields are set, all clients are matched. If multiple fields are set, all fields\nmust match the client.\n",
|
||||
"type": "object",
|
||||
|
|
@ -1173,6 +1182,14 @@
|
|||
"type": "boolean",
|
||||
"description": "Whether the device uses natural scrolling.\n\nSee the libinput documentation for more details.\n"
|
||||
},
|
||||
"middle-button-emulation": {
|
||||
"type": "boolean",
|
||||
"description": "Converts a simultaneous left and right button click into a middle button click.\n\nSee the libinput documentation for more details.\n"
|
||||
},
|
||||
"click-method": {
|
||||
"description": "Defines how button events are triggered on a clickable touchpad.\n\nSee the libinput documentation for more details.\n",
|
||||
"$ref": "#/$defs/ClickMethod"
|
||||
},
|
||||
"px-per-wheel-scroll": {
|
||||
"type": "boolean",
|
||||
"description": "The number of pixels to scroll for each scroll wheel dedent.\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue