diff options
author | Paulo Alcantara <paulo.alcantara@openbossa.org> | 2012-06-21 21:02:34 -0300 |
---|---|---|
committer | Paulo Alcantara <paulo.alcantara@openbossa.org> | 2012-06-21 21:36:42 -0300 |
commit | b5a39842f1fd900909d685bdfd36bd46210f8bae (patch) | |
tree | 2715c832dd52944cc7bbb571b1ad445566670020 /bootstrap | |
parent | 2b51e4b7348b4635e59d02775d43efbb4b7724f6 (diff) | |
download | bluez-for-upstream.tar.gz bluez-for-upstream.tar.xz bluez-for-upstream.zip |
HoG: Handle HID devices operating in Boot Protocol Modefor-upstream
HID devices like keyboards, as well as mices, support boot protocol. It
was designed to be used by the PC BIOS during POST setup. Thus, BlueZ
does not have to support HID devices operating in this mode, so we need
to change from Boot Procotol Mode to Report Protocol Mode since we're
running out of BIOSes. As the default Protocol Mode for all HID devices
is the Report Protocol Mode, we set the Protocol Mode characteristic
value to 1 (Report Protocol Mode) when necessary.
This patches takes cares of changing from Boot Protocol Mode to Report
Protocol Mode by writing the Protocol Mode characteristic value to 1,
which is value for Report Protocol Mode, on HID devices operating in
Boot Protocol Mode.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions