mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-28 11:49:10 +00:00
Send touch events from the client
On SDL touch events, send control messages to the server.
This commit is contained in:
parent
f765aae352
commit
b5a2d99bc2
5 changed files with 52 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue