8 #ifndef __SDL_EVENTS_H__
9 #define __SDL_EVENTS_H__
11 #include <SDL2/SDL_events.h>
int sdl_key(SDL_Event *event, socket_t input_socket)
Produce a key press/release event to the virtual input.
int socket_t
Alias to differenciate between regular ints and socket fds.
int sdl_mouse_wheel(SDL_Event *event, socket_t input_socket)
Produce a mouse wheel event to the virtual input.
int sdl_mouse_motion(SDL_Event *event, socket_t input_socket)
Produce a mouse motion event to the virtual input.
Define socket utilities to simplify networking.
int sdl_mouse_button(SDL_Event *event, socket_t input_socket)
Produce a mouse click event to the virtual input.