aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/source/input.lua
blob: e41e0ac607fcacac1b443fbe1cfe486f2e3823ee (plain)
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
-- source/input.lua

--------------------------------------------------
-- Global Input
--------------------------------------------------

hl.config({
    input = {
        kb_layout = "us",
        kb_variant = "",
        kb_model = "",
        kb_options = "",
        kb_rules = "",

        follow_mouse = 1,

        -- -1.0 .. 1.0
        sensitivity = 0,

        touchpad = {
            natural_scroll = false,
        },

        repeat_delay = 300,
        repeat_rate = 50,
    },
})

--------------------------------------------------
-- Per-device Configuration
--------------------------------------------------

hl.device({
    name = "epic-mouse-v1",
    sensitivity = -0.5,
})