irungentoo / Xiaomi_gamepad

It's a nice gamepad.
318 stars 70 forks source link

Figure out a way to send data using the output endpoint to the controller on Windows. #31

Open irungentoo opened 7 years ago

irungentoo commented 7 years ago

Right now the rumble is sent to the controller using the control pipe which is bad because the controller can't send anything while this happens leading to lag and delays on some machines.

Rumble data can be sent using the output endpoint and the controller will recognize it (tested on linux) but it doesn't expose this in its HID descriptors so trying to send it with the normal HID windows functions fails.

Possibly related is finding a way to send data not described in the HID descriptor on windows through the control pipe in order to enable the accelerometer.