summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.config/sway/input.conf19
1 files changed, 13 insertions, 6 deletions
diff --git a/.config/sway/input.conf b/.config/sway/input.conf
index 6d7eade..635d298 100644
--- a/.config/sway/input.conf
+++ b/.config/sway/input.conf
@@ -3,6 +3,11 @@
 seat * hide_cursor when-typing enable
 
 input type:keyboard {
+	# set via $HOME/.config/sway/env
+	# xkb_layout us
+	# xkb_variant mac
+	# xkb_options 'caps:hyper,lvl3:ralt_switch_multikey,eurosign:5'
+	# xkb_options 'caps:hyper,eurosign:5'
 
 	repeat_rate 70
 	repeat_delay 200
@@ -31,6 +36,8 @@ set {
 	$slimblade 1149:8257:Kensington_Kensington_Slimblade_Trackball
 	$mouse 1133:16500:Logitech_G305
 	$pen 10429:148:XP-PEN_STAR_G640_Pen
+	$penmouse 10429:148:XP-PEN_STAR_G640_Mouse
+	$virtpen 0:0:OpenTabletDriver_Virtual_Tablet
 }
 
 input $trackpoint {
@@ -55,9 +62,9 @@ bindsym --input-device=$slimblade --whole-window button3 seat - cursor press but
 # seat pen idle_inhibit tablet_tool
 # seat pen idle_wake tablet_tool
 
-input $pen {
-  accel_profile flat
-}
-input "10429:148:XP-PEN_STAR_G640_Mouse" {
-  events disabled
-}
+# input $pen {
+#   accel_profile flat
+# }
+# input $penmouse {
+#   events disabled
+# }