summaryrefslogtreecommitdiffstats
path: root/doc/input-api.txt
blob: e9ad0aa7aab47656c2765247ec7a1743fea5b352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
BlueZ D-Bus Input API description
*********************************

Copyright (C) 2004-2008  Marcel Holtmann <marcel@holtmann.org>


Input hierarchy
===============

Service		org.bluez
Interface	org.bluez.Input
Object path	/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX

Methods		void Connect()

			Connect to the input device.

			Possible errors: org.bluez.Error.AlreadyConnected
			                 org.bluez.Error.ConnectionAttemptFailed

		void CancelConnect()

			Abort connection attempt in case of errors or
			timeouts in the client.

			Possible errors: org.bluez.Error.Failed

		void Disconnect()

			Disconnect from the input device.

			Possible errors: org.bluez.Error.Failed

		bool IsConnected()

			Returns the connection status.

Signals		void Connected()

		void Disconnected()