Romain Vimont
7d67696b7e
Extract server-related functions
...
To lighten screen.c, move start_server() and stop_server() to a separate
file.
2018-01-22 11:29:44 +01:00
Romain Vimont
52af91f6b0
Add unit tests for control event serialization
...
Test serialization of the 4 types of events (keycode, text, mouse,
scroll).
2018-01-19 16:55:39 +01:00
Romain Vimont
f75c404a26
Add tests for strutil
...
Test our custom string handling functions.
2018-01-18 17:25:13 +01:00
Romain Vimont
cabb102a04
Implement keyboard/mouse control
...
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.
2018-01-18 17:25:13 +01:00
Romain Vimont
95591d2938
Move platform specific to sys/
...
Move unix/ and win/ to sys/, so that we can use android/ for android
headers without confusion.
2018-01-04 10:22:09 +01:00
Romain Vimont
d5b349f670
Do not inline lockutil functions
...
This duplicates chars in the final binary.
2017-12-18 11:07:42 +01:00
Romain Vimont
54d9148a36
Initial commit
...
Start a new clean history from here.
2017-12-12 15:25:15 +01:00