Your company here, and a link to your site. Click to find out more.

caca_event.3caca - Man Page

Handling of user events.


#include <caca.h>

Data Fields

enum caca_event_type type
union {
  struct {
     int x
     int y
     int button
  } mouse
  struct {
     int w
     int h
  } resize
  struct {
     int ch
     uint32_t utf32
     char utf8 [8]
  } key
} data

Detailed Description

This structure is filled by caca_get_event() when an event is received. It is an opaque structure that should only be accessed through caca_event_get_type() and similar functions. The struct members may no longer be directly accessible in future versions.


Generated automatically by Doxygen for libcaca from the source code.

Referenced By

The man pages caca_get_event.3caca(3), caca_get_event_key_ch.3caca(3), caca_get_event_key_utf32.3caca(3), caca_get_event_key_utf8.3caca(3), caca_get_event_mouse_button.3caca(3), caca_get_event_mouse_x.3caca(3), caca_get_event_mouse_y.3caca(3), caca_get_event_resize_height.3caca(3), caca_get_event_resize_width.3caca(3), caca_get_event_type.3caca(3), caca_get_mouse_x.3caca(3) and caca_get_mouse_y.3caca(3) are aliases of caca_event.3caca(3).

Wed Mar 20 2024 00:00:00 Version 0.99.beta20 libcaca