hog: implement set_report functionality

System Internals / BlueZ - Benjamin Tissoires [redhat.com] - 26 November 2014 01:59 UTC

When UHID_SET_REPORT is received, hog has to send the given value of the report to the device and send back the error code to the caller.

This function has to be synchronous, so the answer is sent in set_report_cb().

(David: Track reports and cancel them on timeouts. Also fix some "get"->"set" typos.)

34f34e9 hog: implement set_report functionality
profiles/input/hog.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)

Upstream: git.kernel.org


  • Share