Actions
XKB allows for associating actions with key presses, which moves some of the burden of input event processing from client applications to the X server. However, the actions that can be associated with keys are limited to the following:
- Change the state of a modifier, making it active, inactive, latched or locked
- Change the state of the group selectors (same as modifiers)
- Simulate a mouse event (movement or button activity)
- Change the active screen (this kind of action is optional, that is, not necessarily supported by the server)
- Change the state of boolean controls
- Generate a message event (that is, a packet that is sent to the client)
- Generate a different keycode
Moreover, there are some actions related to devices that are available if the server supports the X Input extension.
Read more about this topic: X Keyboard Extension
Famous quotes containing the word actions:
“Many of us, whether in the jungles of Asia or on the streets of Chicago, had discovered that noble causes can lead to ignoble actions and that we were capable of sacrificing honor to a sense of efficacy.”
—Linda Grant (b. 1949)
“They are actions that a man might play,
But I have that within which passes show,
These but the trappings and the suits of woe.”
—William Shakespeare (15641616)
“Hence a young man is not a proper hearer of lectures on political science; for he is inexperienced in the actions that occur in life, but its discussions start from these and are about these; and, further, since he tends to follow his passions, his study will be vain and unprofitable, because the end aimed at is not knowledge but action.”
—Aristotle (384322 B.C.)