diff --git a/kernel/event.h b/kernel/event.h new file mode 100644 index 0000000..634a116 --- /dev/null +++ b/kernel/event.h @@ -0,0 +1,13 @@ +#ifndef EVENT_H +#define EVENT_H + +#include + +void event_post( uint16_t type, uint16_t code, int16_t x, int16_t y ); +int event_read( struct event *e, int size ); +int event_read_nonblock( struct event *e, int size ); +int event_read_keyboard(); + +void event_init(); + +#endif