Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
kbd_repeat(3)			 Arcan Lua API			 kbd_repeat(3)

NAME
       kbd_repeat - Change keyboard repeat period

SYNOPSIS
       old_period, old_delay
       kbd_repeat( repeat_period, repeat_delay )

DESCRIPTION
       Keyboard-  and mouse input devices are treated as somewhat special com-
       pared 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  dis-
       abled.  The  optional repeat_delay  argument specifies how long the key
       has to be held down before the repeat press/release events start	 being
       delivered.

NOTES
       1      If  period is set	to a negative number, only the old values will
	      be returned.

iodev				  April	2025			 kbd_repeat(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=kbd_repeat&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help