mirror of https://github.com/Genymobile/scrcpy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
500 B
C
28 lines
500 B
C
#ifndef SCRCPY_H
|
|
#define SCRCPY_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <recorder.h>
|
|
|
|
struct scrcpy_options {
|
|
const char *serial;
|
|
const char *crop;
|
|
const char *record_filename;
|
|
enum recorder_format record_format;
|
|
uint16_t port;
|
|
uint16_t max_size;
|
|
uint32_t bit_rate;
|
|
bool show_touches;
|
|
bool fullscreen;
|
|
bool always_on_top;
|
|
bool control;
|
|
bool display;
|
|
bool turn_screen_off;
|
|
};
|
|
|
|
bool
|
|
scrcpy(const struct scrcpy_options *options);
|
|
|
|
#endif
|