summaryrefslogtreecommitdiffstats
path: root/input/input-api.txt
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-10-04 15:48:32 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-10-04 15:48:32 +0000
commit07ebeadd853277fa7b7fae80abb84c17bf1d303b (patch)
tree35585a6ba944792abbac9328b5b963c7492b0b19 /input/input-api.txt
parentce397ae3d37d13e8665c93515f7f841f41dc32ea (diff)
input: added CreateSecureDevice
Diffstat (limited to 'input/input-api.txt')
-rw-r--r--input/input-api.txt18
1 files changed, 15 insertions, 3 deletions
diff --git a/input/input-api.txt b/input/input-api.txt
index 13da80ba..1d9fec1f 100644
--- a/input/input-api.txt
+++ b/input/input-api.txt
@@ -16,9 +16,7 @@ Methods array{string} ListDevices()
string CreateDevice(string address)
- Create an input device object. The HID service
- record will be retrieved and the pairing will
- be initiated if needed.
+ Create an input device object.
On success it will return the path of the
newly created device object.
@@ -28,6 +26,20 @@ Methods array{string} ListDevices()
org.bluez.input.ConnectionAttemptFailed
org.bluez.input.Failed
+ string CreateSecureDevice(string address)
+
+ Create an input device object. Pairing will
+ be initiated if needed(keyboard/combo devices).
+
+ On success it will return the path of the
+ newly created device object.
+
+ Possible errors: org.bluez.input.AlreadyExists
+ org.bluez.input.NotSupported
+ org.bluez.input.ConnectionAttemptFailed
+ org.bluez.input.AuthenticationFailed
+ org.bluez.input.Failed
+
void RemoveDevice(string path)
Remove the input device object for a given path.