- 09 2月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
Move the code handling user input from scrcpy.c to a separate file, screencontrol.c.
-
由 Romain Vimont 提交于
Move the code to read the initial device info from scrcpy.c to a separate file, device.c.
-
- 08 2月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
The file scrcpy.c contains too many different things in addition to the main logic, so move the screen code to a separate file, screen.c.
-
由 Romain Vimont 提交于
The struct decoder is defined in decoder.h. For naming consistency, define the struct controller in controller.h.
-
- 07 2月, 2018 3 次提交
-
-
由 Romain Vimont 提交于
Expose scrcpy version via -v or --version.
-
由 Romain Vimont 提交于
The skip_frames flag was a non-configurable runtime flag. Since it is not exposed to the user, there is no need for a (possible) runtime cost. For testing purpose, we still want it to be configurable, so make it a compilation flag.
-
由 Romain Vimont 提交于
Make meson generate config.h with configured values.
-
- 06 2月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
We encounter some problems with SDL2_image on MSYS2 (Windows), so implement our own XPM parsing which does not depend on SDL_image. The input XPM is considered safe (it's in our source repo), so do not check XPM format errors. This implies that read_xpm() is not safe to call on any unsafe input. Although less straightforward, use SDL_CreateRGBSurfaceFrom() instead of SDL_CreateRGBSurfaceWithFormatFrom() because it is available with SDL versions older than 2.0.5.
-
- 05 2月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
Add a bugdroid icon loaded from an XPM.
-
- 23 1月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
Rename scrcpy.c to main.c (this file handles the command line parsing), and screen.c to scrcpy.c (it exposes the entry point scrcpy()).
-
- 22 1月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
To lighten screen.c, move start_server() and stop_server() to a separate file.
-
- 19 1月, 2018 3 次提交
-
-
由 Romain Vimont 提交于
Test serialization of the 4 types of events (keycode, text, mouse, scroll).
-
由 Romain Vimont 提交于
Test our custom string handling functions.
-
由 Romain Vimont 提交于
To control the device from the computer: - retrieve mouse and keyboard SDL events; - convert them to Android events; - serialize them; - send them on the same socket used by the video stream (but in the opposite direction); - deserialize the events on the Android side; - inject them using the InputManager.
-
- 04 1月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
Move unix/ and win/ to sys/, so that we can use android/ for android headers without confusion.
-
- 18 12月, 2017 1 次提交
-
-
由 Romain Vimont 提交于
This duplicates chars in the final binary.
-
- 12 12月, 2017 1 次提交
-
-
由 Romain Vimont 提交于
Start a new clean history from here.
-