2019-06-02 01:58:56 +00:00
|
|
|
### Input configuration
|
|
|
|
#
|
|
|
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
|
|
|
# Read `man 5 sway-input` for more information about this section.
|
|
|
|
|
2020-07-08 23:53:02 +00:00
|
|
|
input "1133:45079:MX_Master_Mouse" {
|
|
|
|
natural_scroll enable
|
|
|
|
accel_profile adaptive
|
|
|
|
pointer_accel -0.3
|
|
|
|
}
|
|
|
|
|
2019-06-02 01:58:56 +00:00
|
|
|
# Beter touchpad support
|
|
|
|
input "2:7:SynPS/2_Synaptics_TouchPad" {
|
|
|
|
dwt enabled
|
|
|
|
click_method clickfinger
|
|
|
|
natural_scroll enabled
|
|
|
|
middle_emulation enabled
|
|
|
|
}
|
|
|
|
|
|
|
|
# bind caps to ctrl
|
|
|
|
input "1:1:AT_Translated_Set_2_keyboard" {
|
|
|
|
xkb_options ctrl:nocaps
|
2019-06-02 04:14:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim: ft=cfg
|