Parent: fe3d9fd8da849b18be6996d22aaf29da281c4dd6
Author: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-11-26 09:57:53
Tree: 64c5021b96e29fda920233ced7425063c4c4bfcc
hog: implement get_report functionality When UHID_GET_REPORT is received, hog has to update the current value of the report and send it back to the caller. This function should be synchronous, so the answer is sent in get_report_cb(). (David: Track reports and cancel them on uhid timeouts. Otherwise, we'd incorrectly match reponses. Also fix "feature"->"get" typos and handle reports without IDs)
Diffstat
| M | profiles/input/hog.c | | | 86 | ++++++++++++++++++++++++++++++++++++++++ |
1 files changed, 86 insertions(+), 0 deletions(-)