keymap_notify Event

The fields that can be unified in keymap_notify events are:

  1. type(T) unifies T with keymap_notify.
  2. serial(S) unifies S with the serial number of the last request processed by the server.
  3. send_event(B) unifies B, a boolean value, with one of

    If the event was sent by another client.
    If the event was sent by the server.
  4. display(D) unifies D with the ProXL Display the event was read from.
  5. window(W) unifies W with the ProXL Window that was reported in the immediately preceding enter_notify or focus_in event.
  6. key_vector(K) unifies K with a list of 32 8-bit integers, for a total of 256 bits, where each bit represents the state of the corresponding keycode. Use key_state/2 to interpret the results.