summary refs log tree commit diff
path: root/.config/sway/input.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-01-26 17:16:07 +0100
committerRobert Günzler <r@gnzler.io>2020-01-26 18:00:59 +0100
commitf5d56602df70950de6b7d40966b00c9939c81763 (patch)
treeb50ffeb5496fe3525cc1bab2629389ced95435b7 /.config/sway/input.conf
Intial commit of v2
See https://drewdevault.com/2019/12/30/dotfiles.html
Diffstat (limited to '.config/sway/input.conf')
-rw-r--r--.config/sway/input.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/.config/sway/input.conf b/.config/sway/input.conf
new file mode 100644
index 0000000..42b959b
--- /dev/null
+++ b/.config/sway/input.conf
@@ -0,0 +1,35 @@
+# vim: ft=i3
+
+# input club kbd
+input "65261:25700:Input_Club_Infinity_keyboard/QMK" {
+    # intentionally left blank
+}
+
+# planck ez
+input "65261:24672:OLKB_Planck" {
+    xkb_options 'eurosign:5,lvl3:ralt_switch_multikey'
+}
+
+# trackball
+input "1149:8264:Primax_Kensington_Eagle_Trackball" {
+    # intentionally left blank
+}
+
+# pen + tablet
+input "10429:148:XP-PEN_STAR_G640_Pen" {
+    click_method clickfinger
+    middle_emulation disabled
+    accel_profile flat
+    drag enabled
+    tap enabled
+
+    # 331 lower pen button
+    # 332 upper pen button
+    scroll_method on_button_down
+    scroll_button 274
+
+    map_to_output HDMI-A-1
+    map_from_region 0.0x0.0 0.3x0.3
+}
+input "10429:148:XP-PEN_STAR_G640_Mouse" events disabled
+input "10429:148:XP-PEN_STAR_G640_Keyboard" events disabled