summary refs log tree commit diff
path: root/.config/sway/input.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-04-22 13:15:37 +0200
committerRobert Günzler <r@gnzler.io>2021-04-26 02:09:48 +0200
commitd3497269ec01f89178b784169bdc53cbd16aafa2 (patch)
treeb13b8e7123d97f65335466d43f7a3db640d9ba01 /.config/sway/input.conf
parent3f57eef6fb8a16c75b68453be7615678884a5116 (diff)
sway: update config
Diffstat (limited to '')
-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