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.
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: default release clean build-app build-server dist
|
||||
.PHONY: default release clean build-app build-server dist dist-zip sums test
|
||||
|
||||
BUILD_DIR := build
|
||||
DIST := dist
|
||||
@@ -36,3 +36,7 @@ dist-zip: dist
|
||||
sums:
|
||||
cd "$(DIST)"; \
|
||||
sha256sum *.zip > SHA256SUM.txt
|
||||
|
||||
test:
|
||||
+$(MAKE) -C server test
|
||||
ninja -C "$(BUILD_DIR)" test
|
||||
|
||||
Reference in New Issue
Block a user