wayland: implement wl_touch
Co-authored-by: Julian Orth <ju.orth@gmail.com>
This commit is contained in:
parent
905e2dd7ba
commit
681c1ad033
35 changed files with 1071 additions and 52 deletions
|
|
@ -861,6 +861,18 @@
|
|||
"remove-mapping": {
|
||||
"type": "boolean",
|
||||
"description": "Removes the mapping of from this device to an output.\n\nThis should only be used within `configure-input` actions.\n\n- Example:\n\n ```toml\n [shortcuts]\n alt-x = { type = \"configure-input\", input = { match.tag = \"wacom\", remove-mapping = true } }\n\n [[inputs]]\n tag = \"wacom\"\n match.name = \"Wacom Bamboo Comic 2FG Pen\"\n output.connector = \"DP-1\"\n ```\n"
|
||||
},
|
||||
"calibration-matrix": {
|
||||
"type": "array",
|
||||
"description": "The calibration matrix of the device. This matrix should be 2x3.\n\nSee the libinput documentation for more details.\n\n- Example: To flip the device 90 degrees:\n\n ```toml\n [[inputs]]\n calibration-matrix = [[0, 1, 0], [-1, 0, 1]]\n ```\n",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -1768,6 +1768,21 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `calibration-matrix` (optional):
|
||||
|
||||
The calibration matrix of the device. This matrix should be 2x3.
|
||||
|
||||
See the libinput documentation for more details.
|
||||
|
||||
- Example: To flip the device 90 degrees:
|
||||
|
||||
```toml
|
||||
[[inputs]]
|
||||
calibration-matrix = [[0, 1, 0], [-1, 0, 1]]
|
||||
```
|
||||
|
||||
The value of this field should be an array of arrays of numbers.
|
||||
|
||||
|
||||
<a name="types-InputMatch"></a>
|
||||
### `InputMatch`
|
||||
|
|
|
|||
|
|
@ -1328,6 +1328,24 @@ Input:
|
|||
match.name = "Wacom Bamboo Comic 2FG Pen"
|
||||
output.connector = "DP-1"
|
||||
```
|
||||
calibration-matrix:
|
||||
kind: array
|
||||
items:
|
||||
kind: array
|
||||
items:
|
||||
kind: number
|
||||
required: false
|
||||
description: |
|
||||
The calibration matrix of the device. This matrix should be 2x3.
|
||||
|
||||
See the libinput documentation for more details.
|
||||
|
||||
- Example: To flip the device 90 degrees:
|
||||
|
||||
```toml
|
||||
[[inputs]]
|
||||
calibration-matrix = [[0, 1, 0], [-1, 0, 1]]
|
||||
```
|
||||
|
||||
|
||||
AccelProfile:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue