mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
refactor(config): simplify input config and document key repeat behavior
This commit is contained in:
1 parent
0ae3788ea3
commit
7545340427
1 file changed
+11
-17
+11
-17
@@ -1,25 +1,19 @@
|
|||||||
-- Keep only your personal input overrides here. Uncommented settings below
|
-- Keep only your personal input overrides here. Uncommented settings below
|
||||||
-- replace Omarchy's defaults.
|
-- replace Omarchy's defaults.
|
||||||
|
|
||||||
-- Key repeat. Repeat is synthesized by the compositor (wl_keyboard.repeat_info
|
-- Key repeat: Omarchy's 250ms / 40Hz is left alone. 200 / 50 was tried and
|
||||||
-- -> the client repeats locally), so this costs nothing on the wireless link.
|
-- felt too fast; the "typing lag" it was meant to fix turned out to be the
|
||||||
-- Omarchy's 250ms / 40Hz already beats Hyprland's 600 / 25; tighten it further
|
-- Pilot W-Corne's firmware (55d4:0461, Vial/QMK over a 2.4GHz dongle)
|
||||||
-- so held keys (backspace, arrows, vim motions) start and stream sooner.
|
-- 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 rest of the keystroke path was checked and is already optimal: the
|
||||||
-- the Pilot W-Corne (55d4:0461, Vial/QMK over a 2.4GHz dongle): the dongle
|
-- dongle advertises bInterval=1 (1000Hz polling), udev pins power/control=on
|
||||||
-- advertises bInterval=1 (1000Hz polling), udev pins power/control=on (no USB
|
-- (no USB autosuspend), nothing polls its raw-HID interface, WiFi sits on
|
||||||
-- autosuspend), nothing polls its raw-HID interface, WiFi sits on 5GHz, and
|
-- 5GHz, and render:new_render_scheduling is off (no triple-buffer frame).
|
||||||
-- render:new_render_scheduling is off (no triple-buffer frame of latency).
|
|
||||||
-- Remaining latency is the 60Hz Studio Display refresh and the fcitx5
|
-- Remaining latency is the 60Hz Studio Display refresh and the fcitx5
|
||||||
-- input-method hop (see omarchy-fcitx5.service), neither of which is an
|
-- input-method hop (see omarchy-fcitx5.service), neither an input option.
|
||||||
-- input option.
|
|
||||||
hl.config({
|
|
||||||
input = {
|
|
||||||
repeat_delay = 200,
|
|
||||||
repeat_rate = 50,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Keyboard layout and options.
|
-- Keyboard layout and options.
|
||||||
-- See https://wiki.hypr.land/Configuring/Basics/Variables/#input
|
-- See https://wiki.hypr.land/Configuring/Basics/Variables/#input
|
||||||
|
|||||||
Reference in new issue
Block a user