mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 23:41:27 +00:00
Add Touch Display Mapping
parent
3486ea9b52
commit
382f661d2f
12
Home.md
12
Home.md
|
@ -269,6 +269,18 @@ input <device name> {
|
|||
|
||||
See `man 5 sway-input` for all available options.
|
||||
|
||||
#### Touch Display Mapping
|
||||
|
||||
Touch input targets for touch displays used in a multi-display environment must be mapped to that touch display only.
|
||||
|
||||
```
|
||||
set $display1 "Dell Inc. DELL P2414H VHVTW542165L"
|
||||
set $display2 "Dell Inc. DELL P2418HT MYDM775F152L"
|
||||
set $display2-touch "8146:24835:Melfas_LGD_AIT_Touch_Controller"
|
||||
|
||||
input $display2-touch map_to_output $display2
|
||||
```
|
||||
|
||||
### Wallpapers
|
||||
|
||||
Feh and similar tools do not work on Wayland. Sway supports setting wallpapers if [swaybg](https://github.com/swaywm/swaybg) is installed. You can use this feature through the `output` command, using the **bg** option:
|
||||
|
|
Loading…
Reference in a new issue