GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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.
June 2022 iodev

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.