You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
461 B
25 lines
461 B
#ifndef SCRCPY_H
|
|
#define SCRCPY_H
|
|
|
|
#include <SDL2/SDL_stdinc.h>
|
|
#include <recorder.h>
|
|
|
|
struct scrcpy_options {
|
|
const char *serial;
|
|
const char *crop;
|
|
const char *record_filename;
|
|
enum recorder_format record_format;
|
|
Uint16 port;
|
|
Uint16 max_size;
|
|
Uint32 bit_rate;
|
|
SDL_bool show_touches;
|
|
SDL_bool fullscreen;
|
|
SDL_bool always_on_top;
|
|
SDL_bool no_display;
|
|
};
|
|
|
|
SDL_bool
|
|
scrcpy(const struct scrcpy_options *options);
|
|
|
|
#endif
|