Handle "show touches" on the device-side

Now that the server can access the Android settings and clean up
properly, handle the "show touches" option from the server.

The initial state is now correctly restored, even on device
disconnection.
This commit is contained in:
Romain Vimont
2020-05-01 23:49:37 +02:00
parent dbb0df607c
commit 4668638ee1
9 changed files with 50 additions and 51 deletions

View File

@@ -51,6 +51,7 @@ struct server_params {
int8_t lock_video_orientation;
bool control;
uint16_t display_id;
bool show_touches;
};
// init default values