Functions | |
| unsigned int | caca_get_event (unsigned int event_mask) |
| Get the next mouse or keyboard input event. | |
| unsigned int | caca_wait_event (unsigned int event_mask) |
| Wait for the next mouse or keyboard input event. | |
| unsigned int | caca_get_mouse_x (void) |
| Return the X mouse coordinate. | |
| unsigned int | caca_get_mouse_y (void) |
| Return the Y mouse coordinate. | |
|
|
This function polls the event queue for mouse or keyboard events matching the event mask and returns the first matching event. Non-matching events are discarded.
|
|
|
This function returns the first mouse or keyboard event in the queue that matches the event mask. If no event is pending, it blocks until a matching event is received.
|