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:
“Because impudence is a vice, it does not follow that modesty is a virtue; it is built upon shame, a passion in our nature, and may be either good or bad according to the actions performed from that motive.”
—Bernard Mandeville (16701733)
“From a purely external point of view there is no will; and to find will in any phenomenon requires a certain empathy; we observe a mans actions and place ourselves partly but not wholly in his position; or we act, and place ourselves partly in the position of an outsider.”
—T.S. (Thomas Stearns)
“Many great actions are committed in small struggles.”
—Victor Hugo (18021885)