DualSenseEdgeControllerSim
- class wpilib.simulation.DualSenseEdgeControllerSim(*args, **kwargs)
Bases:
GenericHIDSimClass to control a simulated DualSenseEdge controller.
Overloaded function.
__init__(self: wpilib.simulation._simulation.DualSenseEdgeControllerSim, joystick: wpilib._wpilib.DualSenseEdgeController) -> None
Constructs from a DualSenseEdgeController object.
- Parameters:
joystick – controller to simulate
__init__(self: wpilib.simulation._simulation.DualSenseEdgeControllerSim, port: typing.SupportsInt | typing.SupportsIndex) -> None
Constructs from a joystick port number.
- Parameters:
port – port number
- set_circle_button(value: bool) None
Change the value of the Circle button on the controller.
- Parameters:
value – the new value
- set_create_button(value: bool) None
Change the value of the Create button on the controller.
- Parameters:
value – the new value
- set_cross_button(value: bool) None
Change the value of the Cross button on the controller.
- Parameters:
value – the new value
- set_dpad_down_button(value: bool) None
Change the value of the Dpad Down button on the controller.
- Parameters:
value – the new value
- set_dpad_left_button(value: bool) None
Change the value of the Dpad Left button on the controller.
- Parameters:
value – the new value
- set_dpad_right_button(value: bool) None
Change the value of the Dpad Right button on the controller.
- Parameters:
value – the new value
- set_dpad_up_button(value: bool) None
Change the value of the Dpad Up button on the controller.
- Parameters:
value – the new value
- set_l1_button(value: bool) None
Change the value of the L 1 button on the controller.
- Parameters:
value – the new value
- set_l2(value: SupportsFloat | SupportsIndex) None
Change the L 2 value of the controller.
- Parameters:
value – the new value
- set_l3_button(value: bool) None
Change the value of the L 3 button on the controller.
- Parameters:
value – the new value
- set_left_function_button(value: bool) None
Change the value of the Left Function button on the controller.
- Parameters:
value – the new value
- set_left_paddle1_button(value: bool) None
Change the value of the Left Paddle 1 button on the controller.
- Parameters:
value – the new value
- set_left_x(value: SupportsFloat | SupportsIndex) None
Change the Left X value of the controller.
- Parameters:
value – the new value
- set_left_y(value: SupportsFloat | SupportsIndex) None
Change the Left Y value of the controller.
- Parameters:
value – the new value
- set_microphone_button(value: bool) None
Change the value of the Microphone button on the controller.
- Parameters:
value – the new value
- set_options_button(value: bool) None
Change the value of the Options button on the controller.
- Parameters:
value – the new value
- set_ps_button(value: bool) None
Change the value of the PS button on the controller.
- Parameters:
value – the new value
- set_r1_button(value: bool) None
Change the value of the R 1 button on the controller.
- Parameters:
value – the new value
- set_r2(value: SupportsFloat | SupportsIndex) None
Change the R 2 value of the controller.
- Parameters:
value – the new value
- set_r3_button(value: bool) None
Change the value of the R 3 button on the controller.
- Parameters:
value – the new value
- set_right_function_button(value: bool) None
Change the value of the Right Function button on the controller.
- Parameters:
value – the new value
- set_right_paddle1_button(value: bool) None
Change the value of the Right Paddle 1 button on the controller.
- Parameters:
value – the new value
- set_right_x(value: SupportsFloat | SupportsIndex) None
Change the Right X value of the controller.
- Parameters:
value – the new value
- set_right_y(value: SupportsFloat | SupportsIndex) None
Change the Right Y value of the controller.
- Parameters:
value – the new value
- set_square_button(value: bool) None
Change the value of the Square button on the controller.
- Parameters:
value – the new value
- set_touchpad_button(value: bool) None
Change the value of the Touchpad button on the controller.
- Parameters:
value – the new value
- set_triangle_button(value: bool) None
Change the value of the Triangle button on the controller.
- Parameters:
value – the new value