Skip to content

asukiaaa/arduino-XboxSeriesXControllerESP32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arduino-XboxSeriesXControllerESP32 (XboxSeriesXControllerESP32_asukiaaa)

A library to use xbox controller on ESP32.

Update firmware of controller

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.

Setup

Arduino IDE

Install XboxSeriesXControllerESP32_asukiaaa from library manager.

PlatformIO

Specify XboxSeriesXControllerESP32_asukiaaa as lib_deps on platformio.ini

lib_deps = XboxSeriesXControllerESP32_asukiaaa

Usage

See examples.

Introduction of receiver library that can use via I2C

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.

Known issue.

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:

License

MIT

References