aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/sway
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-02-10 14:02:08 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-02-10 14:02:08 +0300
commitebbc91277bf9c3b3043ec112d226cdfa717141c0 (patch)
treee8d4fc41b28038b56a0301c81a4ee8be3112ca30 /dotfiles/.config/sway
parent3ed019cd45af970690dee0635d2ef629a7265cf9 (diff)
downloadswayrice-ebbc91277bf9c3b3043ec112d226cdfa717141c0.tar.gz
swayrice-ebbc91277bf9c3b3043ec112d226cdfa717141c0.zip
Input config changes
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