aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/sway
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config/sway')
-rw-r--r--dotfiles/.config/sway/config19
1 files changed, 14 insertions, 5 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 49dddd9..c5e6588 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -112,12 +112,21 @@ for_window [title="^ddterminal$"] floating enable, sticky enable
# Don't display mouse cursor while typing
seat * hide_cursor when-typing enable
+# X200 Trackpoint
input 2:10:TPPS/2_IBM_TrackPoint {
- accel_profile flat
- pointer_accel 0.8
+ accel_profile adaptive
+ pointer_accel 0
+ middle_emulation enabled
+}
+
+# Tex Shinobi Trackpoint
+input 1241:1031:USB-HID_Keyboard_Mouse {
+ accel_profile adaptive
+ pointer_accel 0
+ middle_emulation enabled
}
-# Trackpoint (Thinkpad Compact Keyboard (External))
+# Thinkpad Compact Keyboard (External) Trackpoint
input 6127:24647:Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint {
accel_profile flat
pointer_accel 1
@@ -126,13 +135,13 @@ input 6127:24647:Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint {
# Desktop mouse
input 1118:2083:Microsoft_Microsoft___Classic_IntelliMouse__ {
accel_profile flat
- pointer_accel -0.5
+ pointer_accel 0.5
}
# Keymaps
input * {
xkb_layout "us,es,ru"
- xkb_options "lv3:ralt_switch,grp:alt_shift_toggle,misc:typo,caps:escape,grp_led:scroll"
+ xkb_options "lv3:ralt_switch,grp:alt_shift_toggle,misc:typo,caps:escape,grp_led:caps"
}
# Set inner/outer gaps