summary refs log tree commit diff
path: root/.config/sway/input.conf
blob: ade53aec5114351006eb292491c94a31a760513c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# vim: ft=i3config fdm=marker fen

input 1:1:AT_Translated_Set_2_keyboard {
   xkb_layout us
   xkb_variant mac
   xkb_options 'caps:hyper,lvl3:ralt_switch_multikey,eurosign:5'
   repeat_rate 70
   repeat_delay 200
}
input 65261:25700:Input_Club_Infinity_keyboard/QMK {
   xkb_layout us
   xkb_variant mac
  xkb_options 'caps:hyper,lvl3:ralt_switch_multikey,eurosign:5'
   repeat_rate 70
   repeat_delay 200
}
input 12951:50895:ZSA_Technology_Labs_Planck_EZ_Glow {
   xkb_layout us
   xkb_variant mac
  xkb_options 'caps:hyper,lvl3:ralt_switch_multikey,eurosign:5'
   repeat_rate 70
   repeat_delay 200
}

# internal trackpad
input 1739:0:Synaptics_TM3289-021 {
   tap enabled
   natural_scroll enabled
   accel_profile adaptive
}
input 2:10:TPPS/2_Elan_TrackPoint {
   natural_scroll enabled
   accel_profile adaptive
   pointer_accel 1
}
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.8
   # scroll_factor 2
   scroll_method on_button_down
   scroll_button BTN_MIDDLE
}
# 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

input 1133:16500:Logitech_G305 {
   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
# seat pen idle_inhibit tablet_tool
# seat pen idle_wake tablet_tool