aboutsummaryrefslogtreecommitdiff
path: root/linux/sway/hid.m4
blob: 762be210eba6e138c4d62a2aaa70db710c4dd419 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
m4_include(`system.m4')m4_dnl

output eDP-1 {
    scale m4_ifelse(SYSID, `1', `1.4', `1.0')
}

input "type:keyboard" {
  xkb_layout us,no
  repeat_delay 300
  repeat_rate 40
  xkb_capslock disabled
  xkb_numlock disabled
}

input "type:touchpad" {
  pointer_accel 0.0
  natural_scroll enabled
  scroll_factor 1.0
  scroll_method two_finger
  left_handed disabled
  tap enabled
  tap_button_map lrm
  drag enabled
  drag_lock disabled
  dwt enabled
  middle_emulation enabled
}

input "type:pointer" {
  natural_scroll disabled
  scroll_factor 1.0
  left_handed disabled
}