summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/input-api.txt29
2 files changed, 30 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index d21be88e..e060d254 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,5 +1,5 @@
EXTRA_DIST = manager-api.txt adapter-api.txt device-api.txt agent-api.txt \
- serial-api.txt
+ serial-api.txt input-api.txt
MAINTAINERCLEANFILES = Makefile.in
diff --git a/doc/input-api.txt b/doc/input-api.txt
new file mode 100644
index 00000000..881825ec
--- /dev/null
+++ b/doc/input-api.txt
@@ -0,0 +1,29 @@
+BlueZ D-Bus Input API description
+*********************************
+
+Copyright (C) 2004-2008 Marcel Holtmann <marcel@holtmann.org>
+
+
+Input hierarchy
+===============
+
+Service org.bluez
+Interface org.bluez.Input
+Object path /{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
+
+Methods void Connect()
+
+ Connect to the input device.
+
+ Possible errors: org.bluez.Error.AlreadyConnected
+ org.bluez.Error.ConnectionAttemptFailed
+
+ void Disconnect()
+
+ Disconnect from the input device.
+
+ Possible errors: org.bluez.Error.Failed
+
+Signals void Connected()
+
+ void Disconnected()