Skip to content
Lucas E. da Silva edited this page Sep 25, 2025 · 7 revisions

This is the plugin documentation, explaining how the plugin works and detailing each method.

  • Error connect_to(ip: String, port: int)

This method uses the IP and port to establish a UDP connection with DualSenseX.

  • String get_dsx_info()

This method requests information from DualSenseX about the connected controllers.

  • Error adaptive_trigger(device: int, trigger: DSXRef.Trigger, trigger_mode: DSXRef.TriggerMode, parameters: Array[int] = [])

This method sends a new instruction to the adaptive triggers.

  • device : Controller ID;
  • trigger : Left or Right trigger;
  • trigger_mode : Trigger action mode;
  • parameters : Additional parameters for configuring the trigger action mode.
  • Error lightbar_led(device: int, color: Color, brightness: int)

This method requests a change in the color and brightness of the controller's lightbar.

  • device : Controller ID;
  • color : New color;
  • brightness : Brightness level.
  • Error player_led(device: int, player_number: int)

This method sets a new player number for the controller LEDs.

  • device : Controller ID;
  • player_number : Player number.
  • Error mic_led(device: int, state: DSXRef.MicLED)

This method changes the state of the microphone LED.

  • device : Controller ID;
  • state : LED state (ON, PULSE, OFF).
  • Error reset_settings(device: int)

This method requests to restore the controller profile to its default settings.

  • device : Controller ID.
  • Error send_data(instruction: Dictionary)

This method sends a new instruction to DualSenseX.

  • instruction : New instruction.

Clone this wiki locally