Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/esp32beans/esp32-s3_touch_usb_joystick
Arduino ESP32-S3 Capacitive Touch USB Joystick for Xbox Adaptive Controller
https://github.com/esp32beans/esp32-s3_touch_usb_joystick
arduino esp32-s3-box espressif usb-joystick xac xbox-adaptive-controller
Last synced: about 2 months ago
JSON representation
Arduino ESP32-S3 Capacitive Touch USB Joystick for Xbox Adaptive Controller
- Host: GitHub
- URL: https://github.com/esp32beans/esp32-s3_touch_usb_joystick
- Owner: esp32beans
- License: mit
- Created: 2023-12-22T01:55:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-08T21:21:49.000Z (4 months ago)
- Last Synced: 2024-09-08T22:33:09.649Z (4 months ago)
- Topics: arduino, esp32-s3-box, espressif, usb-joystick, xac, xbox-adaptive-controller
- Language: C
- Homepage:
- Size: 419 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32-S3 Capacitive Touch USB Joystick
![ESP32 S3 Box Touch Joystick](./images/xac_cap_touch_joysticks.jpg)
The USB joystick can be used with the Xbox Adaptive Controller (XAC) as well as
Windows, MacOS, Linux, and other devices that accept USB HID joysticks.The LCD display is not used and the backlight is turned off to reduce power
consumption. The XAC provides at most 100 mA on its USB host ports unless it
is plugged into a 5V 2A power supply. Turning the backlight off ensures the
ESP32 box draws less than 100 mA.Tested using Arduino IDE 1.8.19 and
[Espressif ESP32-BOX-S3-3](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box_3/hardware_overview_for_box_3.md)
and
[the original Espressif ESP32-BOX-S3](https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box/hardware_overview_for_box.md)The original ESP32 S3 Box has been discontinued.
There is a similar project for the M5Stack Dial (also known as M5Dial) at
https://github.com/esp32beans/M5Stack_Touch_USB_Joystick.Note: Jun 11, 2024 Update to work with arduino-esp32 v3.0.
## Dependencies
The install the following libraries using the Arduino IDE Library manager.
* "ESP32_IO_Expander" by espressif
* "ESP32_Display_Panel" by espressifThe following library should not be used because the latest version works
without patches.* https://github.com/esp32beans/ESP32_Display_Panel_Backlight_Off
Note the ESP_Display_Panel library must be configured to match the ESP32-S3 Box
(original or -3). See ESP_Panel_Board_Supported.h in the same directory as
ESP32-S3_Touch_USB_Joystick.ino. It is currently configured for the ESP32 S3
Box 3.The USB joystick library is from
https://github.com/esp32beans/ESP32_flight_stick. Download the library as a
ZIP file then install it using the Arduino IDE "Add .ZIP Library" option.## Arduino IDE Build options for ESP32-S3 Box and ESP32-S3 Box 3
![Arduino IDE 1.8.19 build options](./images/esp_box_build_options.jpg)