1XkbSetAutoRepeatRate(3)          XKB FUNCTIONS         XkbSetAutoRepeatRate(3)
2
3
4

NAME

6       XkbSetAutoRepeatRate  -  Sets  the attributes of the RepeatKeys control
7       for a keyboard device
8

SYNOPSIS

10       Bool XkbSetAutoRepeatRate (Display *display, unsigned int  device_spec,
11              unsigned int timeout, unsigned int interval);
12

ARGUMENTS

14       - display
15              connection to X server
16
17       - device_spec
18              device to configure, or XkbUseCoreKbd
19
20       - timeout
21              initial delay, ms
22
23       - interval
24              delay between repeats, ms
25

DESCRIPTION

27       The  core  protocol  allows only control over whether or not the entire
28       keyboard or individual keys should  auto-repeat  when  held  down.  Re‐
29       peatKeys  is  a  boolean control that extends this capability by adding
30       control over the delay until a key begins to repeat  and  the  rate  at
31       which  it repeats. RepeatKeys is coupled with the core auto-repeat con‐
32       trol: when RepeatKeys is enabled or disabled, the core  auto-repeat  is
33       enabled or disabled and vice versa.
34
35       Auto-repeating  keys are controlled by two attributes. The first, time‐
36       out, is the delay after the initial press of an auto-repeating key  and
37       the  first  generated  repeat event. The second, interval, is the delay
38       between all subsequent generated repeat events.  As  with  all  boolean
39       controls, configuring the attributes that determine how the control op‐
40       erates does not automatically enable the control as a whole.
41
42       XkbSetAutoRepeatRate sends a request to the X server to  configure  the
43       AutoRepeat  control  attributes  to the values specified in timeout and
44       interval.
45
46       XkbSetAutoRepeatRate does not wait for a  reply;  it  normally  returns
47       True. Specifying a zero value for either timeout or interval causes the
48       server to generate a BadValue protocol error. If a  compatible  version
49       of  the  Xkb  extension  is  not available in the server, XkbSetAutoRe‐
50       peatRate returns False.
51

RETURN VALUES

53       True           The XkbSetAutoRepeatRate function returns True normally.
54
55       False          The XkbSetAutoRepeatRate function  returns  False  if  a
56                      compatible version of the Xkb extension is not available
57                      in the server.
58

DIAGNOSTICS

60       BadValue       An argument is out of range
61
62
63
64X Version 11                     libX11 1.8.1          XkbSetAutoRepeatRate(3)
Impressum