From 382f661d2f44bc63721f6a4ce890e06e465dddd0 Mon Sep 17 00:00:00 2001 From: "Takahashi, Naoki" <102382754+tkna91@users.noreply.github.com> Date: Fri, 8 Dec 2023 21:07:22 +0900 Subject: [PATCH] Add Touch Display Mapping --- Home.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Home.md b/Home.md index 04f132d..bee2fa4 100644 --- a/Home.md +++ b/Home.md @@ -269,6 +269,18 @@ input { 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: