Since plugin version 2.4 there are special gamepad functions.
I have only tested these on the Playstation 5 controller Dualsense because I only own this controller with the special functions.


With the "Set LED Color" function you can set the LED color of the controller. Only RBG values between 0 and 255 are considered. If you only set R to 255 the LED will be red.



The acceleration and gyro sensor can be activated and deactivated via the "Set Sensor" function. There are also two corresponding events.






There are three events for the touchpad.




It is also possible to send commands directly as bytes to a controller. I have implemented the 6 official haptic trigger events of the Dualsense controller. You can test this in the plugin demo.