#ifndef KHEPCC_EVENTS_H #define KHEPCC_EVENTS_H #include #include "khepcc.h" enum eventcodes { REDRAW_SCREEN, UPDATE_SENSORS, UPDATE_JOYSTICK }; extern SDL_Joystick *joystick; void onExit(); void treat_keys(khep_state_t *st, SDL_Event event); Uint32 callback_joystick(Uint32 interval, void *param); #endif /* KHEPCC_EVENTS_H */