caa9e30004
Add an option to crop the screen on the server. This allows to mirror only part of the device screen.
17 lines
288 B
C
17 lines
288 B
C
#ifndef SCRCPY_H
|
|
#define SCRCPY_H
|
|
|
|
#include <SDL2/SDL_stdinc.h>
|
|
|
|
struct scrcpy_options {
|
|
const char *serial;
|
|
const char *crop;
|
|
Uint16 port;
|
|
Uint16 max_size;
|
|
Uint32 bit_rate;
|
|
SDL_bool show_touches;
|
|
};
|
|
|
|
SDL_bool scrcpy(const struct scrcpy_options *options);
|
|
|
|
#endif
|