Add variables for tablets to wiki (#355)

This commit is contained in:
Cascade aka. Isoheptane 2023-09-28 02:49:35 +08:00 committed by GitHub
parent 41d64c4adf
commit b603e29cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -232,6 +232,17 @@ _Subcategory `input:touchdevice:`_
| transform | transform the input from touchdevices. The possible transformations are the same as [those of the monitors](../Monitors/#rotating) | int | 0 | | transform | transform the input from touchdevices. The possible transformations are the same as [those of the monitors](../Monitors/#rotating) | int | 0 |
| output | the output to bind touch devices. Empty means unset and will use the current / autodetected. | string | \[\[Empty\]\] | | output | the output to bind touch devices. Empty means unset and will use the current / autodetected. | string | \[\[Empty\]\] |
## Tablet
_Subcategory `input:tablet:`_
| name | description | type | default |
|---|---|---|---|
| transform | transform the input from tablets. The possible transformations are the same as [those of the monitors](../Monitors/#rotating) | int | 0 |
| output | the output to bind tablets. Empty means unset and will use the current / autodetected. | string | \[\[Empty\]\] |
| region_position | position of the mapped region in output layout. | vec2 | [0, 0] |
| region_size | size of the mapped region. When this variable is set, tablet input will be mapped to the region. [0, 0] or invalid size means unset. | vec2 | [0, 0] |
## Per-device input config ## Per-device input config
Described [here](../Keywords#per-device-input-configs). Described [here](../Keywords#per-device-input-configs).