Dualsense
TODO: SignalFlow microphone and speaker demo TODO: List available output methods for LEDs, rumble, etc.
DualSense
Source code in src/tolvera/dualsense.py
handle(event_type)
Decorator for handling DualSense events.
It has a 'type' argument where you specify the event type.
For event types, see:
https://github.com/yesbotics/dualsense-controller-python/blob/main/src/examples/example.py
https://github.com/yesbotics/dualsense-controller-python/blob/main/src/dualsense_controller/core/state/read_state/value_type.py
To list available inputs, use list_inputs()
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
event_type |
str
|
The event type. |
required |