summaryrefslogtreecommitdiffstats
path: root/input/input-api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'input/input-api.txt')
-rw-r--r--input/input-api.txt30
1 files changed, 17 insertions, 13 deletions
diff --git a/input/input-api.txt b/input/input-api.txt
index 60066eb9..13da80ba 100644
--- a/input/input-api.txt
+++ b/input/input-api.txt
@@ -7,7 +7,6 @@ Copyright (C) 2006-2007 Marcel Holtmann <marcel@holtmann.org>
Input Manager hierarchy
=======================
-Service org.bluez.input
Interface org.bluez.input.Manager
Object path /org/bluez/input
@@ -24,14 +23,14 @@ Methods array{string} ListDevices()
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.Failed
+ Possible errors: org.bluez.input.AlreadyExists
+ org.bluez.input.NotSupported
+ org.bluez.input.ConnectionAttemptFailed
+ org.bluez.input.Failed
void RemoveDevice(string path)
- Remove the input device object for a given path.
+ Remove the input device object for a given path.
Possible errors:org.bluez.input.DoesNotExist
org.bluez.input.Failed
@@ -44,11 +43,16 @@ Signals void DeviceCreated(string path)
Input Device hierarchy
======================
-Service org.bluez.input
Interface org.bluez.input.Device
Object path /org/bluez/input/{keyboard*|mouse*|...}
-Methods string GetAddress()
+Methods string GetAdapter()
+
+ Returns the adapter address.
+
+ Example: "00:11:22:33:44:55"
+
+ string GetAddress()
Returns the device address.
@@ -71,18 +75,18 @@ Methods string GetAddress()
Returns the connection status.
void Connect()
-
+
Connect to the input device.
- Possible errors:org.bluez.input.AlreadyConnected
- org.bluez.input.ConnectionAttemptFailed
+ Possible errors: org.bluez.input.AlreadyConnected
+ org.bluez.input.ConnectionAttemptFailed
void Disconnect()
Disconnect from the input device.
- Possible errors:org.bluez.input.Failed
+ Possible errors: org.bluez.input.Failed
-Signals void Connected()
+Signals void Connected()
void Disconnected()