diff options
| author | Robert Günzler <r@gnzler.io> | 2020-12-03 13:33:39 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-12-07 19:28:05 +0100 |
| commit | 0b8a428e0c0391241d7a93c27e455209929c9893 (patch) | |
| tree | ee521a134bb3fb66c78941459da1dbe68cbcfcc3 /.config | |
| parent | 885ca940dd36813aaab57860fd40bbce05bba78c (diff) | |
sway: add slimblade input
Diffstat (limited to '.config')
| -rw-r--r-- | .config/sway/input.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/sway/input.conf b/.config/sway/input.conf index eb00463..dc617a6 100644 --- a/.config/sway/input.conf +++ b/.config/sway/input.conf @@ -35,6 +35,20 @@ input 2:10:TPPS/2_Elan_TrackPoint { input 1149:8264:Primax_Kensington_Eagle_Trackball { accel_profile adaptive } +set $slimblade 1149:8257:Kensington_Kensington_Slimblade_Trackball +input $slimblade { + accel_profile adaptive + pointer_accel 0.5 + scroll_factor 2 +} +# button layout: +# --------- +# | 2 | 8 | +# --------- +# | 1 | 3 | +# --------- +bindsym --input-device=$slimblade --whole-window button8 seat - cursor press button3, seat - cursor release button3 +bindsym --input-device=$slimblade --whole-window button3 seat - cursor press button8, seat - cursor release button8 set $pen 10429:148:XP-PEN_STAR_G640_Pen input $pen { |