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

NAME

6       XkbGetAutoRepeatRate  -  Gets  the current attributes of the RepeatKeys
7       control for a keyboard device
8

SYNOPSIS

10       Bool XkbGetAutoRepeatRate (Display *display, unsigned int  device_spec,
11              unsigned int *timeout_rtrn, unsigned int *interval_rtrn);
12

ARGUMENTS

14       display
15              connection to X server
16
17       device_spec
18              desired device ID, or XkbUseCoreKbd
19
20       timeout_rtrn
21              backfilled with initial repeat delay, ms
22
23       interval_rtrn
24              backfilled with subsequent repeat delay, 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       XkbGetAutoRepeatRate queries the server for the current values  of  the
43       RepeatControls  control  attributes,  backfills timeout_rtrn and inter‐
44       val_rtrn with them, and returns True. If a compatible  version  of  the
45       Xkb  extension  is not available in the server XkbGetAutoRepeatRate re‐
46       turns False.
47

RETURN VALUES

49       True           The XkbGetAutoRepeatRate function returns True if a com‐
50                      patible version of the Xkb extension is available in the
51                      server.
52
53       False          The XkbGetAutoRepeatRate function  returns  False  if  a
54                      compatible version of the Xkb extension is not available
55                      in the server.
56
57
58
59X Version 11                     libX11 1.8.7          XkbGetAutoRepeatRate(3)
Impressum