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:
“The mob is man voluntarily descending to the nature of the beast. Its fit hour of activity is night. Its actions are insane like its whole constitution. It persecutes a principle; it would whip a right; it would tar and feather justice, by inflicting fire and outrage upon the houses and persons of those who have these. It resembles the prank of boys, who run with fire-engines to put out the ruddy aurora streaming to the stars.”
—Ralph Waldo Emerson (18031882)
“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)
“Our actions seem to have their lucky and unlucky stars, to which a great part of that blame and that commendation is due which is given to the actions themselves.”
—François, Duc De La Rochefoucauld (16131680)