Send touch events from the client

On SDL touch events, send control messages to the server.
This commit is contained in:
Romain Vimont 2019-09-22 21:30:05 +02:00
commit b5a2d99bc2
5 changed files with 52 additions and 0 deletions

View file

@ -29,6 +29,10 @@ void
input_manager_process_mouse_motion(struct input_manager *input_manager,
const SDL_MouseMotionEvent *event);
void
input_manager_process_touch(struct input_manager *input_manager,
const SDL_TouchFingerEvent *event);
void
input_manager_process_mouse_button(struct input_manager *input_manager,
const SDL_MouseButtonEvent *event,