summaryrefslogtreecommitdiffstats
path: root/input/input-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-18 21:54:03 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-18 21:54:03 +0000
commitd3d68f09fac9d13476b70d67330f5083f60fc1a7 (patch)
tree076e55f719a91774922c4a8f70628c84ac7bfbfa /input/input-api.txt
parentfb0189533b77a5c7d4fb38107096fb2e1b149e15 (diff)
Return the path on device creation
Diffstat (limited to 'input/input-api.txt')
-rw-r--r--input/input-api.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/input/input-api.txt b/input/input-api.txt
index f63faa38..d947d489 100644
--- a/input/input-api.txt
+++ b/input/input-api.txt
@@ -15,12 +15,15 @@ Methods array{string} ListDevices()
Returns an array of available input devices path.
- void CreateDevice(string address)
+ string CreateDevice(string address)
Create an input device object. The HID service
record will be retrieved and the pairing will
be initiated if needed.
+ On success it will return the path of the
+ newly created device object.
+
void RemoveDevice(string path)
Remove the input device object for a given path.