summary refs log tree commit diff
path: root/.config/sway/input.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-02-28 20:10:18 +0100
committerRobert Günzler <r@gnzler.io>2020-02-28 20:10:18 +0100
commit7bebd3af5c64c3a680d0f3ab881c202c861eb924 (patch)
treec7a4d5405f07d115e9e646489e78a95fc2b5a50d /.config/sway/input.conf
parentf73eeab226a7219bc4da0c83967bbc5d92173926 (diff)
sway: fixup tablet inputs and swayidle command
Diffstat (limited to '.config/sway/input.conf')
-rw-r--r--.config/sway/input.conf22
1 files changed, 11 insertions, 11 deletions
diff --git a/.config/sway/input.conf b/.config/sway/input.conf
index 42b959b..5e42c3b 100644
--- a/.config/sway/input.conf
+++ b/.config/sway/input.conf
@@ -16,20 +16,20 @@ input "1149:8264:Primax_Kensington_Eagle_Trackball" {
 }
 
 # pen + tablet
-input "10429:148:XP-PEN_STAR_G640_Pen" {
-    click_method clickfinger
-    middle_emulation disabled
-    accel_profile flat
-    drag enabled
+set $pen "10429:148:XP-PEN_STAR_G640"
+input $pen {
+    drag disabled
+    drag_lock disabled
     tap enabled
+    accel_profile flat
 
+    # middle_emulation disabled
     # 331 lower pen button
     # 332 upper pen button
-    scroll_method on_button_down
-    scroll_button 274
-
-    map_to_output HDMI-A-1
+    # scroll_method on_button_down
+    # scroll_button 274
+    # map_to_output DP-6
     map_from_region 0.0x0.0 0.3x0.3
 }
-input "10429:148:XP-PEN_STAR_G640_Mouse" events disabled
-input "10429:148:XP-PEN_STAR_G640_Keyboard" events disabled
+#input "10429:148:XP-PEN_STAR_G640_Mouse" events disabled
+#input "10429:148:XP-PEN_STAR_G640_Keyboard" events disabled