uhid: handle output report

This patch polls the uhid device for output events and sends the
corresponding output event through gatt client.

BUG=chromium:880746
TEST=Use a BLE keyboard, e.g., Microsoft Universal Foldable Keyboard.
$ ./new_blue_test hidtest "UniversalFoldableKb"
Toggle the Caps Lock key on and off several times, and watch that
the LED light on the key is turned on and off accordingly.

Change-Id: I5ea60c6c4c16e15f6ea93b352a9f835ebb6d6999
Reviewed-on: https://chromium-review.googlesource.com/1534801
Commit-Ready: Shyh-In Hwang <josephsih@chromium.org>
Tested-by: Shyh-In Hwang <josephsih@chromium.org>
Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org>
Reviewed-by: Dmitry Grinberg <dmitrygr@google.com>
1 file changed