2018-02-08 18:14:13 +08:00
|
|
|
#ifndef SCRCPY_H
|
|
|
|
#define SCRCPY_H
|
2017-12-12 22:12:07 +08:00
|
|
|
|
2017-12-16 00:34:16 +08:00
|
|
|
#include <SDL2/SDL_stdinc.h>
|
2017-12-12 22:12:07 +08:00
|
|
|
|
2018-03-21 21:04:13 +08:00
|
|
|
struct scrcpy_options {
|
|
|
|
const char *serial;
|
|
|
|
Uint16 port;
|
|
|
|
Uint16 max_size;
|
|
|
|
Uint32 bit_rate;
|
2018-03-25 21:23:00 +08:00
|
|
|
SDL_bool show_touches;
|
2018-03-21 21:04:13 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
SDL_bool scrcpy(const struct scrcpy_options *options);
|
2017-12-12 22:12:07 +08:00
|
|
|
|
|
|
|
#endif
|