Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yesbotics/dualsense-controller-arduino
https://github.com/yesbotics/dualsense-controller-arduino
arduino arduino-library dualsense dusalsense-controller playstation playstation-5 ps5 ps5-controller sony
Last synced: about 17 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/yesbotics/dualsense-controller-arduino
- Owner: yesbotics
- License: mit
- Created: 2022-12-16T00:29:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-21T02:19:42.000Z (about 2 years ago)
- Last Synced: 2024-11-14T13:39:35.098Z (2 months ago)
- Topics: arduino, arduino-library, dualsense, dusalsense-controller, playstation, playstation-5, ps5, ps5-controller, sony
- Language: C++
- Homepage:
- Size: 48.8 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# DualSense Controller for Arduino
This lib provides easy to use event-based access to the functionalities of the DualSense PlayStation Controller.
It is based on the PS5 core of the [USB Host Shield 2.0 Library](https://github.com/felis/USB_Host_Shield_2.0).
It is a more comfortable wrapper with event based access to changes.## Features:
- event callback for state changes of:
- digital buttons
- analog buttons
- analog hats
- gyro and acceleration sensors
- touchpad- set and control:
- leds
- hard and soft rumble
- adaptive trigger force## Supported Boards
Because this lib is based on the [USB Host Shield 2.0 Library](https://github.com/felis/USB_Host_Shield_2.0) it should be usable with all [boards which are supported by the USB Host Shield Library 2.0](https://github.com/felis/USB_Host_Shield_2.0#boards)
On boards small flash storage. like the Arduino Uno or the Arduino Nano it could be problematic to upload the example.
We tested our lib only with [ESP32 DevKitC V4](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html) and this [ESP8266 Board](https://www.az-delivery.de/en/collections/esp8266/products/nodemcu-lolin-v3-modul-mit-esp8266).
For both boards u need an extra Arduino core: [ESP8266 Arduino Core](https://github.com/esp8266/Arduino) or [ESP32 Arduino Core](https://github.com/espressif/arduino-esp32/)## Getting started
The best documentation for the lib is currently the [DualSenseControllerDemo](https://github.com/yesbotics/dualsense-controller/blob/main/examples/DualSenseControllerDemo/DualSenseControllerDemo.ino)