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)
“There is a Book
By seraphs writ with beams of heavenly light,
On which the eyes of God not rarely look,
A chronicle of actions just and bright
There all thy deeds, my faithful Mary, shine;
And since thou ownst that praise, I spare thee mine.”
—William Cowper (17311800)
“The principal office of history I take to be this: to prevent virtuous actions from being forgotten, and that evil words and deeds should fear an infamous reputation with posterity.”
—Tacitus (c. 55c. 120)