kbd_repeat(3)
β¨ NAME β¨
kbd_repeat β Change keyboard repeat period π
Okay so this is the Arcan Lua API manual, and todayβs main character is literally kbd_repeat(3). Weβre talking keyboard repeat behavior, bestie β letβs get into it π
πΈ SYNOPSIS πΈ
old_period, old_delay
kbd_repeat( repeat_period, repeat_delay )
Like, you call it with repeat_period and repeat_delay, and the synopsis says you get back old_period, old_delay. Slay.
π¦ DESCRIPTION π¦
Keyboard- and mouse input devices are treated as somewhat special compared to other forms of input, and therefore have more global states tracked. No cap β theyβre just built different in this API π
This function is used to manipulate the behavior for when a key is pressed and held down. The repeat_period argument specifies the number of miliseconds between each press/release event, or 0 if disabled. The optional repeat_delay argument specifies how long the key has to be held down before the repeat press/release events start being delivered. Iconic behavior control, honestly π«Ά
π NOTES π
- If
periodis set to a negative number, only the old values will be returned.
Heads up, bestie: negative period means youβre just getting the old values back. Thatβs the vibe check, and thatβs the note π
This page is brought to you by the iodev source, dated October 2026, and itβs literally the kbd_repeat(3) page β mwah πβ¨
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms