summaryrefslogtreecommitdiffstats
path: root/input/input-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-05-14 12:22:52 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-05-14 12:22:52 +0000
commit772f25e26e1d1c5982855eefd59b51c7e4aaab95 (patch)
treefe8df1faf16795e649407c6512dc1f8b096a0b2b /input/input-api.txt
parent8cea4266a59e24df215febc4bfa4d98c4ad58e7c (diff)
Add GetAdapter() method to retrieve the source address
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()