X Keyboard Extension - Actions

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:

  1. Change the state of a modifier, making it active, inactive, latched or locked
  2. Change the state of the group selectors (same as modifiers)
  3. Simulate a mouse event (movement or button activity)
  4. Change the active screen (this kind of action is optional, that is, not necessarily supported by the server)
  5. Change the state of boolean controls
  6. Generate a message event (that is, a packet that is sent to the client)
  7. 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:

    “However, our fates at least are social. Our courses do not diverge; but as the web of destiny is woven it is fulled, and we are cast more and more into the centre. Men naturally, though feebly, seek this alliance, and their actions faintly foretell it.”
    —Henry David Thoreau (1817–1862)

    “A young man is not a proper hearer of lectures on political science; for he is inexperienced in the actions that occur in life, but its discussions start from these and are about these; and, further, since he tends to follow his passions, his study will be vain and unprofitable, because the end that is aimed at is not knowledge but action. And it makes no difference whether he is young in years or youthful in character.”
    —Aristotle (384–323 B.C.)

    “The actions of each dancer were scrutinized with great care and any little mistake noted and remembered. The strain upon a dancer was consequently so great that when a fine dancer died soon after a feast it was said, “The peoples’ looks have killed him.””
    —Merle Colby, U.S. public relief program (1935-1943)