1
0
Fork 0
forked from wry/wry

input: add click method and middle button emulation

This commit is contained in:
Stipe Kotarac 2025-05-12 17:52:36 +02:00 committed by Julian Orth
parent 0524e01a3c
commit b20153550e
24 changed files with 598 additions and 21 deletions

View file

@ -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"