basekernel/kernel/event.h

14 lines
288 B
C
Raw Normal View History

2024-10-14 23:08:55 +02:00
#ifndef EVENT_H
#define EVENT_H
#include <kernel/events.h>
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