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:
“The confusion of emotions with behavior causes no end of unnecessary trouble to both adults and children. Behavior can be commanded; emotions cant. An adult can put controls on a childs behaviorat least part of the timebut how do you put controls on what a child feels? An adult can impose controls on his own behaviorif hes grown upbut how does he order what he feels?”
—Leontine Young (20th century)
“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)
“Who controls the past controls the future: who controls the present controls the past.”
—George Orwell (19031950)