mapping_notify Event

The fields that can be unified in mapping_notify events are:

  1. type(T) unifies T with mapping_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

    true
    If the event was sent by another client.
    false
    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 receiving the event.
  6. request(R) unifies R with one of

    modifier
    If the modifier keys have been remapped.
    keyboard
    If the keyboard has been remapped.
    pointer
    If the pointer buttons have been remapped.
  7. first_keycode(F) unifies F with the first in a range of keycodes with new mappings, if the value of request is modifier or keyboard. For pointer, its value is 0.
  8. count(C) unifies C with an integer indicating the number of keycodes with altered mappings, if the request is modifier or keyboard. For pointer, its value is 0.