Commit 72b98a3
committed
feat(hid): Update HID-RP submodule and flesh out gamepad reports
* Update HID-RP submodule to have latest changes which include more unit customization
* Update hid-rp-gamepad to more closely match xbox 1708 controller descriptor
* Update hid-rp-gamepad to have new XboxRumbleOutputReport descriptor
* Update hid-rp-gamepad to flesh out led descriptor some more
* Update hid_rp_example to include new rumble report
* Update hid_service_example to include new rumble report
* Update hid_service_example to exercise new consumer record button in gamepad report
* Update hid_service_example to add characteristic onWrite callbacks for Rumble and LED, parsing the data that is returned
This provides better HID examples and showcases the use of output reports for LED and rumble control. It also updates the examples to better match xbox wireless controller model 1708 for better compatibility.
* Build and run `hid-rp/example` on QtPy ESP32s3 and ensure the output matches the 1708 descriptor
* Build and run `hid_service/example` on QtPy ESP32s3 and ensure the following work with iPhone:
* All gamepad inputs (including new consumer record button)
* Battery input report (via game controller settings page)
* Rumble output report (by pressing the `identify controller` button in the game controller settings page)1 parent 2bd8277 commit 72b98a3
File tree
4 files changed
+379
-40
lines changed- components
- hid-rp
- example/main
- include
- hid_service/example/main
- external
4 files changed
+379
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
0 commit comments