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:
“Long ago I added to the true old adage of What is everybodys business is nobodys business, another clause which, I think, more than any other principle has served to influence my actions in life. That is, What is nobodys business is my business.”
—Clara Barton (18211912)
“Piety practised in solitude, like the flower that blooms in the desert, may give its fragrance to the winds of heaven, and delight those unbodied spirits that survey the works of God and the actions of men; but it bestows no assistance upon earthly beings, and however free from taints of impurity, yet wants the sacred splendour of beneficence.”
—Samuel Johnson (17091784)
“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)