summary refs log tree commit diff
path: root/.config/sway/input.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/input.conf')
-rw-r--r--.config/sway/input.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/.config/sway/input.conf b/.config/sway/input.conf
index 1325cfd..ade53ae 100644
--- a/.config/sway/input.conf
+++ b/.config/sway/input.conf
@@ -41,6 +41,8 @@ input $slimblade {
    accel_profile adaptive
    # pointer_accel 0.8
    # scroll_factor 2
+   scroll_method on_button_down
+   scroll_button BTN_MIDDLE
 }
 # button layout:
 # ---------
@@ -52,12 +54,17 @@ bindsym --input-device=$slimblade --whole-window button8 seat - cursor press but
 bindsym --input-device=$slimblade --whole-window button3 seat - cursor press button8, seat - cursor release button8
 
 input 1133:16500:Logitech_G305 {
-   accel_profile adaptive
+   accel_profile flat
+   pointer_accel 0
+   natural_scroll enabled
 }
 
 set $pen 10429:148:XP-PEN_STAR_G640_Pen
 input $pen {
    accel_profile flat
+   # scroll_method on_button_down
+   # BTN_STYLUS2
+   # scroll_button 332
 }
 # seat pen attach $pen
 # seat pen hide_cursor 10000