Library: karma
Link With: -lkarma
Note:
event_initialise | Initialise the package. |
event_dispatch | Dispatch an event. |
event_register_event_func | Register event callback. |
event_set_mask | Set the event mask |
event_wait | Wait for an event. |
event_PROTO_event_func | Generic event callback. |
event_MASKS | List of event bitmasks |
Initialise the package.
Parameters:
Dispatch an event.
Parameters:
Register event callback.
Parameters:
Set the event mask
Parameters:
Wait for an event.
Parameters:
Generic event callback.
Parameters:
Value | Meaning |
K_EVENT_MASK_MOUSE_CLICK | Mouse button click down |
K_EVENT_MASK_MOUSE_RELEASE | Mouse button release |
K_EVENT_MASK_MOUSE_DRAG | Mouse move while button down |
K_EVENT_MASK_POINTER_MOVE | Mouse move |
K_EVENT_MASK_KEYPRESS | Keyboard press |
K_EVENT_MASK_POINTER_WARP | Mouse warp |