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. 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 it should be usable with all boards which are supported by the USB Host Shield Library 2.0

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 and this ESP8266 Board. For both boards u need an extra Arduino core: ESP8266 Arduino Core or ESP32 Arduino Core

Getting started

The best documentation for the lib is currently the DualSenseControllerDemo