-
Notifications
You must be signed in to change notification settings - Fork 2
Home
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.
-
Errorconnect_to(ip: String, port: int)
This method uses the IP and port to establish a UDP connection with DualSenseX.
-
Stringget_dsx_info()
This method requests information from DualSenseX about the connected controllers.
-
Erroradaptive_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.
-
Errorlightbar_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.
-
Errorplayer_led(device: int, player_number: int)
This method sets a new player number for the controller LEDs.
device: Controller ID;player_number: Player number.
-
Errormic_led(device: int, state: DSXRef.MicLED)
This method changes the state of the microphone LED.
device: Controller ID;state: LED state (ON, PULSE, OFF).
-
Errorreset_settings(device: int)
This method requests to restore the controller profile to its default settings.
device: Controller ID.
-
Errorsend_data(instruction: Dictionary)
This method sends a new instruction to DualSenseX.
instruction: New instruction.