Events

This page documents the event codes used by qip interactive modules.

The ABI follows a small subset inspired by the Remote Framebuffer Protocol (RFC 6143):

Keyboard: key_event(x11_key, flags, now_ms)

Common keysyms:

For printable keys, pass Unicode/ASCII code points as keysyms (for example A is 0x41, a is 0x61).

Pointer: pointer_event(button_mask, x_px, y_px, now_ms)

Supported button bits:

This maps cleanly from DOM pointer buttons and keeps compatibility with RFB-style pointer state updates.

Notes

Reference: