|
|
| |
kbd_repeat(3) |
Arcan Lua API |
kbd_repeat(3) |
kbd_repeat - Change keyboard repeat period
old_period, old_delay
kbd_repeat( repeat_period, repeat_delay )
Keyboard- and mouse input devices are treated as somewhat special compared to
other forms of input, and therefore has more global states tracked. 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.
- 1
- If period is set to a negative number, only the old values will be
returned.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |