mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-19 10:05:09 +08:00
input: Documentation for new Input1 interface
Adds documentation for a new Input1 interface explaining a new "ReconnectMode" property that exposes the Connectability mode of a HID device.
This commit is contained in:
parent
6ebbf94bcc
commit
be37902b7d
32
doc/input-api.txt
Normal file
32
doc/input-api.txt
Normal file
@ -0,0 +1,32 @@
|
||||
BlueZ D-Bus Input API description
|
||||
*********************************
|
||||
|
||||
Input hierarchy
|
||||
===============
|
||||
|
||||
Service org.bluez
|
||||
Interface org.bluez.Input1
|
||||
Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
|
||||
|
||||
Properties string ReconnectMode [readonly]
|
||||
|
||||
Determines the Connectability mode of the HID device as
|
||||
defined by the HID Profile specification, Section 5.4.2.
|
||||
|
||||
This mode is based in the two properties
|
||||
HIDReconnectInitiate (see Section 5.3.4.6) and
|
||||
HIDNormallyConnectable (see Section 5.3.4.14) which
|
||||
define the following four possible values:
|
||||
|
||||
"none" Device and host are not required to
|
||||
automatically restore the connection.
|
||||
|
||||
"host" Bluetooth HID host restores connection.
|
||||
|
||||
"device" Bluetooth HID device restores
|
||||
connection.
|
||||
|
||||
"any" Bluetooth HID device shall attempt to
|
||||
restore the lost connection, but
|
||||
Bluetooth HID Host may also restore the
|
||||
connection.
|
Loading…
Reference in New Issue
Block a user