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:
“When posterity judges our actions here it will perhaps see us not as unwilling prisoners but as men who for whatever reason preferred to remain non-contributing individuals on the edge of society.”
—George Lucas (b. 1944)
“The first glance at History convinces us that the actions of men proceed from their needs, their passions, their characters and talents; and impresses us with the belief that such needs, passions and interests are the sole spring of actions.”
—Georg Wilhelm Friedrich Hegel (17701831)
“Only the actions of the just
Smell sweet and blossom in their dust.”
—James Shirley (15961666)