mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 14:49:29 +00:00
wip
This commit is contained in:
parent
15d40b6d16
commit
93c49ae446
1 changed files with 32 additions and 0 deletions
|
@ -294,6 +294,22 @@ struct sc_text_event {
|
||||||
const char *text; // not owned
|
const char *text; // not owned
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct sc_touch_event {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
struct sc_mouse_click_event {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
struct sc_mouse_wheel_event {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
struct sc_mouse_motion_event {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
sc_key_event_from_sdl(struct sc_key_event *event, const SDL_KeyboardEvent *sdl);
|
sc_key_event_from_sdl(struct sc_key_event *event, const SDL_KeyboardEvent *sdl);
|
||||||
|
|
||||||
|
@ -301,4 +317,20 @@ void
|
||||||
sc_text_event_from_sdl(struct sc_text_event *event,
|
sc_text_event_from_sdl(struct sc_text_event *event,
|
||||||
const SDL_TextInputEvent *sdl);
|
const SDL_TextInputEvent *sdl);
|
||||||
|
|
||||||
|
void
|
||||||
|
sc_mouse_click_event_from_sdl(struct sc_mouse_click_event *event,
|
||||||
|
const struct SDL_MouseButtonEvent *sdl);
|
||||||
|
|
||||||
|
void
|
||||||
|
sc_mouse_wheel_event_from_sdl(struct sc_mouse_wheel_event *event,
|
||||||
|
const struct SDL_MouseWheelEvent *sdl);
|
||||||
|
|
||||||
|
void
|
||||||
|
sc_mouse_motion_event_from_sdl(struct sc_mouse_motion_event *event,
|
||||||
|
const struct SDL_MouseMotionEvent *sdl);
|
||||||
|
|
||||||
|
void
|
||||||
|
sc_touch_event_from_sdl(struct sc_touch_event *event,
|
||||||
|
const struct SDL_TouchFingerEvent *sdl);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue