tickit_term_emit_key(3)

tickit_term_emit_key3

Emit a fake key or mouse event

Usage

#include <tickit.h>

void tickit_term_emit_key(TickitTerm *tt, TickitKeyEventInfo *info);
void tickit_term_emit_mouse(TickitTerm *tt, TickitMouseEventInfo *info);

Link with -ltickit.

Overview

tickit_term_emit_key() invokes the event handler chain on the terminal instance, as if a key event had been received from the controlling terminal.tickit_term_emit_mouse() invokes the event handler chain on the terminal instance, as if a mouse event had been received from the controlling terminal.

In each case, the event handler chain runs with the usual semantics; each installed handler with the appropriate bit set in its event type mask will be invoked until one returns a true value. Any remaining handlers after this will not get to see the event.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.