On this page
xb.clear_feedback
Sends the same Remote Play clear as output.clear_feedback to the controller the user holds: it zeros rumble and player LEDs and releases light bar ownership, whatever pad is attached, so a DualSense or DualShock 4 used with an Xbox also has its light bar released and player LEDs cleared.
Syntax
xb.clear_feedback()Parameters
This method does not accept arguments.
Return value
See the remarks for the returned value and runtime behavior.
Remarks
Sends the same Remote Play clear as output.clear_feedback to the controller the user holds: it zeros rumble and player LEDs and releases light bar ownership, whatever pad is attached, so a DualSense or DualShock 4 used with an Xbox also has its light bar released and player LEDs cleared. An Xbox controller itself has only rumble. Adaptive triggers are unchanged. Non-Remote-Play hosts reject feedback.
Examples
// Call this method from the event that owns this work.
xb.clear_feedback();