Parent: 8c2fac46790d11a6f7e9dafc0c4792b4afb70076
Author: Petri Gynther <pgynther@google.com>
Committer: Arman Uguray <armansito@chromium.org>
Date: 2015-05-01 00:53:26
Tree: 4b8a84f0a65d15947910b826395c91a3fc1d4488
hog: rework HoG report notifications enable 1. Store HoG report CCC handle in the report data structure, so that it can be used when needed. 2. Rename write_ccc() to enable_report_notifications(). 3. In enable_report_notifications(): - first register the callback for HoG report notifications - then enable the notifications on the HoG device 4. In report_ccc_written_cb(): - improve the emitted messages
Diffstat
| M | profiles/input/hog.c | | | 39 | +++++++++++++++++++++++++- - - - - - - - - - - - - - |
1 files changed, 25 insertions(+), 14 deletions(-)