https://github.com/esp32beans/m5stack_touch_usb_joystick
M5Stack Dial Touch USB Joystick with Arduino
https://github.com/esp32beans/m5stack_touch_usb_joystick
arduino esp32-s3 m5dial m5stack m5stack-dial usb-joystick xac xbox-adaptive-controller
Last synced: about 2 months ago
JSON representation
M5Stack Dial Touch USB Joystick with Arduino
- Host: GitHub
- URL: https://github.com/esp32beans/m5stack_touch_usb_joystick
- Owner: esp32beans
- License: mit
- Created: 2024-01-16T01:13:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-02T21:25:24.000Z (about 1 year ago)
- Last Synced: 2025-04-07T00:37:15.736Z (3 months ago)
- Topics: arduino, esp32-s3, m5dial, m5stack, m5stack-dial, usb-joystick, xac, xbox-adaptive-controller
- Language: C++
- Homepage:
- Size: 816 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# M5Stack Dial Capacitive Touch USB Joystick

The M5Dial 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 XAC provides at most 100 mA on its USB host ports unless it is plugged into
a 5V 2A power supply. Keeping the backlight brightness low ensures the M5Dial
draws less than 100 mA.Tested using Arduino IDE 1.8.19 and [M5Stack Dial](https://docs.m5stack.com/en/core/M5Dial).
## Dependencies
Install the following libraries using the Arduino IDE Library Manager.
* "M5CoreS3" by M5Stack
* "M5Dial" by M5Stack
* "M5Unified" by M5Stack
* "M5GFX" by M5StackThe 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 M5Stack Dial
Note the Board type is STAMP-S3. There is no M5Stack Dial option but the
Dial is built around a Stamp-S3 board.
Espressif released arduino-esp32 v 3.0.0. V3 has the M5Dial Board type so use
it.
To get the Dial into bootload mode, press and hold the BTN0 button at the
middle of the Dial then press and release the RESET button on the right side.
Then release BTN0. On other ESP32 boards the BTN0 button is usually labeled the
BOOT button. The colorful label covers BTN0 but the button can be pressed
without removing the label.