From 07446f45addc94bb252681e7f3629b17df961d03 Mon Sep 17 00:00:00 2001 From: vib Date: Wed, 19 Apr 2023 14:28:50 +0300 Subject: [PATCH] Wacom tablet device config --- sway/config.d/devices.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sway/config.d/devices.conf b/sway/config.d/devices.conf index 066b028..9b65bb4 100644 --- a/sway/config.d/devices.conf +++ b/sway/config.d/devices.conf @@ -27,3 +27,9 @@ input type:touchpad { drag enabled middle_emulation enabled } + +input 1386:891:Wacom_One_by_Wacom_M_Pen { + map_to_output DP-2 + # match 16:9 aspect ratio (tablet is 16:10) + map_from_region 0.0x0.0 1x0.9 +}