DualSense advanced haptic feedback can be triggered via audio channel sent to it. Actuators are used in this controller not vibration motors like in DS4 and in result it can give better vibration experience to users.
The feature is related to #131 due to the need of sending audio data to controller and compress it with SBC before send via Bluetooth.
Here is demo code that can work for USB use case (without compression): https://gist.github.com/Ohjurot/b0c04dfbd25fb71bc0da50947d313d1b
Related Linux driver code: https://github.com/torvalds/linux/blob/master/drivers/hid/hid-playstation.c (DS_OUTPUT_VALID_FLAG0_COMPATIBLE_VIBRATION shouldn't be set invalid_flag0 as far as I understand).
DualSense advanced haptic feedback can be triggered via audio channel sent to it. Actuators are used in this controller not vibration motors like in DS4 and in result it can give better vibration experience to users.
The feature is related to #131 due to the need of sending audio data to controller and compress it with SBC before send via Bluetooth.
Here is demo code that can work for USB use case (without compression): https://gist.github.com/Ohjurot/b0c04dfbd25fb71bc0da50947d313d1b
Related Linux driver code: https://github.com/torvalds/linux/blob/master/drivers/hid/hid-playstation.c (
DS_OUTPUT_VALID_FLAG0_COMPATIBLE_VIBRATIONshouldn't be set invalid_flag0as far as I understand).