The behavior of the keyboard depends on a number of parameters that can be changed by the clients. These parameters are called controls. For example, the SlowKey control can be used to ignore short keypresses. Another control is the MouseKeys, which makes some keypresses to simulate mouse movements. The control only indicates whether this simulation is active or not; which keys produce the movement is not considered a part of the control, but is specified by attaching actions to these keys.
The above two controls are boolean: they are either active or not. The PerKeyRepeat is a control that is not boolean. Namely, it is a mask that says which keys are in autorepeat mode. According to the specification, non-boolean controls are "always active": that means that they always depends on a set of parameters (in this case, the mask), but that there is no single bit that can be used to deactivate the effects of the control completely.
Other than being boolean or non-boolean, controls also classifies as affecting the behavior of the server and affecting the behavior of the client library. The two above are server controls. Client library controls affect the translation of a keycode or a sequence of keycodes into a string (XLookupString) and event delivery.
Read more about this topic: X Keyboard Extension
Famous quotes containing the word controls:
“If the Party could thrust its hand into the past and say of this or that event, it never happenedthat, surely, was more terrifying than mere torture and death. ... Who controls the past, ran the Party slogan,controls the future: who controls the present controls the past.”
—George Orwell (19031950)
“Comparatively, we can excuse any offense against the heart, but not against the imagination. The imagination knowsnothing escapes its glance from out its eyryand it controls the breast.”
—Henry David Thoreau (18171862)
“Ask anyone committed to Marxist analysis how many angels on the head of a pin, and you will be asked in return to never mind the angels, tell me who controls the production of pins.”
—Joan Didion (b. 1934)