Merge pull request #26 from histausse/touchdevice_transform

Add doc for `input:touchdevice:transform`
This commit is contained in:
Vaxry 2022-10-14 12:30:06 +01:00 committed by GitHub
commit f708ea334d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View file

@ -110,7 +110,12 @@ Inside of it, put your config options. All options from the `input` category
force_no_accel, follow_mouse, float_switch_override_focus force_no_accel, follow_mouse, float_switch_override_focus
For example: Properties that change names:
```plain
touchdevice:transform -> touch_transform
```
Example config section:
```ini ```ini
device:ROYUAN Akko Multi-modes Keyboard-B { device:ROYUAN Akko Multi-modes Keyboard-B {

View file

@ -170,6 +170,14 @@ input {
Doing `input:touchpad {` is **invalid**! Doing `input:touchpad {` is **invalid**!
{{< /hint >}} {{< /hint >}}
### Touchdevice
_Subcategory `input:touchdevice:`_
| name | description | type | default |
|---|---|---|---|---|
| transform | transform the input from touchdevices. The possible transformations are the same as [those of the monitors](../Monitors/#rotating-and-the-default-workspace) | int | 0 |
### Per-device input config ### Per-device input config
Described [here](../Keywords#per-device-input-configs). Described [here](../Keywords#per-device-input-configs).