refactor(config): simplify input config and document key repeat behavior

This commit is contained in:
Prad Nukala committed 2026-09-08 12:58:41 -04:00
1 parent 0ae3788ea3
commit 7545340427
1 file changed
+11 -17
+11 -17
View File
@@ -1,25 +1,19 @@
-- Keep only your personal input overrides here. Uncommented settings below
-- replace Omarchy's defaults.
-- Key repeat. Repeat is synthesized by the compositor (wl_keyboard.repeat_info
-- -> the client repeats locally), so this costs nothing on the wireless link.
-- Omarchy's 250ms / 40Hz already beats Hyprland's 600 / 25; tighten it further
-- so held keys (backspace, arrows, vim motions) start and stream sooner.
-- Key repeat: Omarchy's 250ms / 40Hz is left alone. 200 / 50 was tried and
-- felt too fast; the "typing lag" it was meant to fix turned out to be the
-- Pilot W-Corne's firmware (55d4:0461, Vial/QMK over a 2.4GHz dongle)
-- resolving its MT(LGUI,SPC) / MT(LCTL,SPC) thumb keys as holds the moment
-- another key went down. Fixed on the board itself: Vial QMK Settings ->
-- Tap-Hold -> "Ignore Mod Tap Interrupt" (qsid 8 bit 1), tapping term 200ms.
--
-- Everything else in the keystroke path was checked and is already optimal for
-- the Pilot W-Corne (55d4:0461, Vial/QMK over a 2.4GHz dongle): the dongle
-- advertises bInterval=1 (1000Hz polling), udev pins power/control=on (no USB
-- autosuspend), nothing polls its raw-HID interface, WiFi sits on 5GHz, and
-- render:new_render_scheduling is off (no triple-buffer frame of latency).
-- The rest of the keystroke path was checked and is already optimal: the
-- dongle advertises bInterval=1 (1000Hz polling), udev pins power/control=on
-- (no USB autosuspend), nothing polls its raw-HID interface, WiFi sits on
-- 5GHz, and render:new_render_scheduling is off (no triple-buffer frame).
-- Remaining latency is the 60Hz Studio Display refresh and the fcitx5
-- input-method hop (see omarchy-fcitx5.service), neither of which is an
-- input option.
hl.config({
input = {
repeat_delay = 200,
repeat_rate = 50,
},
})
-- input-method hop (see omarchy-fcitx5.service), neither an input option.
-- Keyboard layout and options.
-- See https://wiki.hypr.land/Configuring/Basics/Variables/#input