This native extension (GDExtension) for the Godot Game Engine allows you to use audio based controller haptics as found on DualSense or Switch Pro controllers on desktop platforms.
Supported Controllers
- DualSense
- DualSense Edge (untested)
Supported Operating Systems
- Linux with PipeWire
- Linux with PulseAudio
- Windows (untested)
Usage
- Download the latest release of the extension and add it to your project
- Create a new audio bus, mute it and add the
ControllerHaptics
effect to it - Play audio on the newly created haptics bus
Support the author
If you like this extension, consider sponsoring my open source work with either one-time or recurring donations. Thank you!
License
See also
- miniaudio by David Reid
- GDExtension CMake Template by Andy Maloney