AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
|
Produce virtual input events from SDL events. More...
Go to the source code of this file.
Functions | |
int | sdl_mouse_motion (SDL_Event *event, socket_t input_socket) |
Produce a mouse motion event to the virtual input. More... | |
int | sdl_mouse_wheel (SDL_Event *event, socket_t input_socket) |
Produce a mouse wheel event to the virtual input. More... | |
int | sdl_mouse_button (SDL_Event *event, socket_t input_socket) |
Produce a mouse click event to the virtual input. More... | |
int | sdl_key (SDL_Event *event, socket_t input_socket) |
Produce a key press/release event to the virtual input. More... | |
Produce virtual input events from SDL events.
The strings will be parsed by the daemon on the VM side and dispatched as relevant uinput events.
Definition in file sdl_events.h.
int sdl_key | ( | SDL_Event * | event, |
socket_t | input_socket | ||
) |
Produce a key press/release event to the virtual input.
Definition at line 64 of file sdl_events.c.
int sdl_mouse_button | ( | SDL_Event * | event, |
socket_t | input_socket | ||
) |
Produce a mouse click event to the virtual input.
Definition at line 141 of file sdl_events.c.
int sdl_mouse_motion | ( | SDL_Event * | event, |
socket_t | input_socket | ||
) |
Produce a mouse motion event to the virtual input.
Definition at line 112 of file sdl_events.c.
int sdl_mouse_wheel | ( | SDL_Event * | event, |
socket_t | input_socket | ||
) |
Produce a mouse wheel event to the virtual input.
Definition at line 126 of file sdl_events.c.