aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Perier <bambi@ubuntu.com>2012-07-04 20:11:37 +0200
committerRomain Perier <bambi@ubuntu.com>2012-07-04 20:11:37 +0200
commitd6a90dd3e6ec731117f74510069ec82d507673ce (patch)
treef81a0513fb698d7d8f57c3dbe894ca5bb8056e96
parent158988da0943676c6a013e711a59a03a0f9f6417 (diff)
downloadandroid-input-bridge-d6a90dd3e6ec731117f74510069ec82d507673ce.tar.gz
Update README
-rw-r--r--README.md16
1 files changed, 11 insertions, 5 deletions
diff --git a/README.md b/README.md
index 535c006..793758a 100644
--- a/README.md
+++ b/README.md
@@ -6,13 +6,19 @@ This repository contains tools to be able to control input devices remotely over
How to use it ?
====================
-Build aibd for android and aib for linux, then:
+Build these tools using the Android build system, then :
On android side:
-aibd 4242
+$ aibd 4242
On linux side:
-adb forward tcp:4242 tcp:4242
-aib 4242 /dev/input/by-id/<your_evdev_device>
-Note: Actually only mouse is supported, support for keyboard is coming soon.
+1)° Over the network
+$ aib <device_ip> 4242 /dev/input/by-id/<your_evdev_device>
+
+2)° Over USB OTG port
+$ adb forward tcp:4242 tcp:4242
+$ aib 127.0.0.1 4242 /dev/input/by-id/<your_evdev_device>
+
+Note: Actually only mouse is supported, support for other evdev compatible devices are coming soon.
+