A library to use xbox controller on ESP32.
This libary is checked with firmware version 5.13.3143.0
for xbox series X controller.
You can check and udpate firmware with using Xbox accessories.
Install XboxSeriesXControllerESP32_asukiaaa from library manager.
Specify XboxSeriesXControllerESP32_asukiaaa as lib_deps on platformio.ini
lib_deps = XboxSeriesXControllerESP32_asukiaaa
See examples.
If you want to make receiver of Xbox controller, write firmware about xbox controller to ESP32 then use it by ControllerAsI2c_asukiaaa library from other IC via I2C connection.
The following error occurs on ESP32.
lld_pdu_get_tx_flush_nb HCI packet count mismatch (1, 2)
It does not occur on ESP32C3 (may be also S3) because BLE5 may be needed to communicate with xbox controller. If you want to use this library without the error, please use ESP32 which supports BLE5.
Related issues:
- Connection is not the first time
- BLE service discovery fails on low BLE connections
- Request of some advice to solve lld_pdu_get_tx_flush_nb HCI packet count mismatch (1, 2)
- Reset scanning state without resetting esp32
MIT