dotfiles/sway/config.d/devices.conf
2023-04-19 14:28:50 +03:00

35 lines
642 B
Text

# Read `man 5 sway-input` for more information about this section.
output * max_render_time 4
output DP-2 {
position 1920 0
modeline 185.62 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
max_render_time 2
}
output DP-1 {
position 0 0
}
input type:keyboard {
xkb_layout "ro"
}
input type:mouse {
accel_profile flat
pointer_accel -0.15
}
input type:touchpad {
pointer_accel 0.2
click_method clickfinger
tap enabled
tap_button_map lrm
drag enabled
middle_emulation enabled
}
input 1386:891:Wacom_One_by_Wacom_M_Pen {
map_to_output DP-2
# match 16:9 aspect ratio (tablet is 16:10)
map_from_region 0.0x0.0 1x0.9
}