aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/source/input.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/source/input.lua')
-rw-r--r--.config/hypr/source/input.lua36
1 files changed, 36 insertions, 0 deletions
diff --git a/.config/hypr/source/input.lua b/.config/hypr/source/input.lua
new file mode 100644
index 0000000..e41e0ac
--- /dev/null
+++ b/.config/hypr/source/input.lua
@@ -0,0 +1,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,
+})