summaryrefslogtreecommitdiff
path: root/_LEGACY/input.conf
blob: 0798eb9777f36c6cbac936967f74bb20eb7694db (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
34
35
36
37
38
39
40
41
42
43
44
45
46
############
### 输入 ###
############

input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options = caps:escape
    kb_rules =

    follow_mouse = 1

    sensitivity = -10 # -1.0 - 1.0, 0 表示不修改。
    scroll_method = 2fg
    touchpad {
        natural_scroll = false
        scroll_factor = 0.5
        clickfinger_behavior = true
        drag_lock=0
        tap-to-click=true
        drag_3fg=2
  }
}

# 参见 https://wiki.hypr.land/Configuring/Gestures
# gesture = 3, horizontal, workspace

# 示例每设备配置
# 更多信息参见 https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs
device {
    # name = epic-mouse-v1
    name = elan07c8:00-04f3:3298-touchpad
    sensitivity = -0.2
    scroll_factor = 0
    accel_profile = "flat"
    clickfinger_behavior = true
}

##############
### 触摸板 ###
##############
gesture = 3, horizontal, workspace
gesture = 3, swipe, mod: ALT, move