diff options
author | Siarhei Vishniakou <svv@google.com> | 2019-12-06 22:43:28 -0800 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2019-12-10 13:47:08 -0800 |
commit | f6081119aa48d1d54ec5bd2d0e2ce336af99f97b (patch) | |
tree | bfc0144d6cee118fee3cc92aa3619d62986fd2b8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c490e7acdeaf682275cb687684e82ac984ab4a61 (diff) |
Add UHID_OUTPUT handling to hid command
Some joysticks may send UHID_OUTPUT requests during probe. They expect
to receive a report in response. Provide a facility to specify the
expected outputs from the driver, and a way to respond to each of these
requests. Typically, this would be something like "driver: please use
full report mode", "joystick: ACK". If the ACK is not received by the
driver, the probe would fail, and input device would never get
registered.
Bug: 135136477
Test: atest NintendoSwitchProTest
Change-Id: Ic2c7a73d3d4bf759a1a104324687cd01646f256e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions