66ec252893
Add -t/--show-touches option to show physical touches while scrcpy is running. See <https://github.com/Genymobile/scrcpy/issues/96>.
16 lines
266 B
C
16 lines
266 B
C
#ifndef SCRCPY_H
|
|
#define SCRCPY_H
|
|
|
|
#include <SDL2/SDL_stdinc.h>
|
|
|
|
struct scrcpy_options {
|
|
const char *serial;
|
|
Uint16 port;
|
|
Uint16 max_size;
|
|
Uint32 bit_rate;
|
|
SDL_bool show_touches;
|
|
};
|
|
|
|
SDL_bool scrcpy(const struct scrcpy_options *options);
|
|
|
|
#endif
|