---
name: "event.c"
section: "3caca"
platform: "linux"
package: "libcaca-dev"
version: "0.9-4"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/event.c"
---

# event.c(3caca)

Event handling.

## NAME

event.c - Event handling.

## SYNOPSIS

### 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.*

## Detailed Description

**Version:**

$Id: **event.c** 258 2004-01-26 10:52:30Z sam $

**Author:**

Sam Hocevar \<sam@zoy.org\>

This file contains event handling functions for keyboard and mouse input.

## Author

Generated automatically by Doxygen for libcaca from the source code.
