## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# iutil/event.h File Reference

Event system related interfaces. More...

`#include "csutil/scf.h"`
`#include "csutil/csunicode.h"`
`#include "csutil/strset.h"`
`#include "csutil/eventnames.h"`
`#include "iutil/evdefs.h"`

Go to the source code of this file.

## Classes

struct | csCommandEventData
| Structure that collects the data a command event carries. More...
struct | csJoystickEventData
| Structure that collects the data a joystick event carries. More...
struct | csKeyEventData
| Structure that collects the data a keyboard event carries. More...
struct | csMouseEventData
| Structure that collects the data a mouse event carries. More...
struct | iEvent
| This interface describes any system event. More...
struct | iEventAttributeIterator
| Event attribute iterator. More...
struct | iEventCord
| The iEventCord is an interface provided by an event queue to any event handlers wanting to receive some subclasses of events ASAP in a specified priority, bypassing the queue itself. More...
struct | iEventOutlet
| The iEventOutlet is the interface to an object that is provided by an event queue to every event plug when it registers itself. More...
struct | iEventPlug
| Event plug interface, also referred as "event source". More...

## Defines

#define | CS_MAX_JOYSTICK_AXES 8
| Maximal number of joystick axes supported.
#define | CS_MAX_JOYSTICK_BUTTONS 10
| Maximal number of joystick buttons supported.
#define | CS_MAX_JOYSTICK_COUNT 16
| Maximal number of joysticks supported.
#define | CS_MAX_MOUSE_AXES 8
| Maximal number of mouse axes supported.
#define | CS_MAX_MOUSE_BUTTONS 10
| Maximal number of mouse buttons supported.
#define | CS_MAX_MOUSE_COUNT 4
| Maximal number of mice supported.

## Enumerations

enum | csEventAttributeType { csEventAttrUnknown, csEventAttrInt, csEventAttrUInt, csEventAttrFloat, csEventAttrDatabuffer, csEventAttrEvent, csEventAttriBase }
| Various attribute data types supported by the event system (iEvent). More...
enum | csEventError { csEventErrNone, csEventErrLossy, csEventErrNotFound, csEventErrMismatchInt, csEventErrMismatchUInt, csEventErrMismatchFloat, csEventErrMismatchBuffer, csEventErrMismatchEvent, csEventErrMismatchIBase, csEventErrUhOhUnknown }
| Error codes for event attribute retrieval. More...
enum | csMouseButton { csmbNone = -1, csmbLeft = 0, csmbRight = 1, csmbMiddle = 2, csmbWheelUp = 3, csmbWheelDown = 4, csmbExtra1 = 5, csmbExtra2 = 6 }
| Constants for mouse buttons. More...

## Detailed Description

Event system related interfaces.

Definition in file event.h.