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
Loading
Please register or sign in to comment