diff options
Diffstat (limited to 'input/input-api.txt')
-rw-r--r-- | input/input-api.txt | 18 |
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. |