sway: explicitly list inputs (kdbs,trackball..)
This commit is contained in:
parent
306b62b619
commit
07fb215026
@ -134,23 +134,44 @@ for_window [window_role="bubble"] floating enable
|
|||||||
for_window [window_role="dialog"] floating enable
|
for_window [window_role="dialog"] floating enable
|
||||||
for_window [window_type="dialog"] floating enable
|
for_window [window_type="dialog"] floating enable
|
||||||
|
|
||||||
input *
|
input 1:1:AT_Translated_Set_2_keyboard
|
||||||
|
{
|
||||||
|
# laptop kbd
|
||||||
|
xkb_layout gb,sk
|
||||||
|
xkb_options grp:win_space_toggle,compose:ralt
|
||||||
|
xkb_variant ",qwerty"
|
||||||
|
repeat_delay 280
|
||||||
|
repeat_rate 55
|
||||||
|
}
|
||||||
|
|
||||||
|
input 1133:16522:Logitech_MX_Keys
|
||||||
{
|
{
|
||||||
xkb_layout gb,sk
|
xkb_layout gb,sk
|
||||||
xkb_options grp:win_space_toggle,compose:ralt
|
xkb_options grp:win_space_toggle,compose:ralt
|
||||||
xkb_variant ",qwerty"
|
xkb_variant ",qwerty"
|
||||||
repeat_delay 280
|
repeat_delay 280
|
||||||
repeat_rate 55
|
repeat_rate 55
|
||||||
|
}
|
||||||
|
|
||||||
|
input 1102:4619:DLL07A7:01_044E:120B
|
||||||
|
{
|
||||||
|
# touchpad
|
||||||
|
accel_profile adaptive
|
||||||
|
|
||||||
tap enabled
|
tap enabled
|
||||||
# disable-while-typing
|
# disable-while-typing
|
||||||
dwt enabled
|
dwt enabled
|
||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
scroll_method two_finger
|
scroll_method two_finger
|
||||||
|
# lrm treats 1 finger as left click, 2 fingers as right click, and 3
|
||||||
|
# fingers as middle click.
|
||||||
tap_button_map lrm
|
tap_button_map lrm
|
||||||
}
|
}
|
||||||
input 1102:4619:DLL07A7:01_044E:120B
|
input 1149:8264:Primax_Kensington_Eagle_Trackball
|
||||||
{
|
{
|
||||||
|
# scroll_factor 1.5
|
||||||
|
scroll_factor 0.5
|
||||||
|
natural_scroll enabled
|
||||||
accel_profile adaptive
|
accel_profile adaptive
|
||||||
dwt enabled
|
dwt enabled
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user