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:

    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 (1803–1882)

    To be told that our child’s behavior is “normal” offers little solace when our feelings are badly hurt, or when we worry that his actions are harmful at the moment or may be injurious to his future. It does not help me as a parent nor lessen my worries when my child drives carelessly, even dangerously, if I am told that this is “normal” behavior for children of his age. I’d much prefer him to deviate from the norm and be a cautious driver!
    Bruno Bettelheim (20th century)

    The principle 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. 55–117)