From 0b8a428e0c0391241d7a93c27e455209929c9893 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 3 Dec 2020 13:33:39 +0100 Subject: sway: add slimblade input --- .config/sway/input.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 { -- cgit 1.4.1