commit | bf6cab9332f81f7bcd4b3040c2c1edd3062ecb40 | [log] [tgz] |
---|---|---|
author | Mike J. Chen <mjchen@google.com> | Thu Feb 13 18:17:56 2014 -0800 |
committer | Mike J. Chen <mjchen@google.com> | Thu Feb 13 18:20:04 2014 -0800 |
tree | d28eb68a0eb97309e926bb912bcbbd63a38fe92c | |
parent | 597c5778ca69fec26c96bda48b83935c1a90660d [diff] |
Don't send a dummy 0 HID event when connection is closed This was put there by Broadcom to try to handle held keys on disconnect, but the best place to do that is in InputManager. There's no guarantee that a report_id 1 is keyboard, and in particular it causes game controllers to get a false joystick move event to 0,0. Bug 12785130 Change-Id: I85fbafa44d927082def3848132344550e8b94bb0 Signed-off-by: Mike J. Chen <mjchen@google.com>