API Reference¶
CtrlDS4¶
Everything the CtrlDS4 library declares: the Controller class and the types of its controls.
- AnalogCalibration: Readings of an analog pin that match the ends of a control, for Controller::bindAnalog().
- AxisHalf: Half of a stick axis, for the inputs that drive an axis in one direction only.
- Button: Digital controls of the controller.
- ButtonWiring: How a button is wired to its pin, for Controller::bind().
- Constants
- Controller: Emulated DS4 controller.
- LightbarBlink: Blinking of the lightbar, set by the host.
- LightbarColor: Color of the lightbar, set by the host.
- MacAddress: MAC address the controller reports to the host.
- MacAddressSource: Where the MAC address of a controller comes from.
- Motor: Rumble motors of the controller, driven by the host.
- Stick: Analog sticks of the controller.
- StickAxis: Single axes of the analog sticks, for the controls driven one axis at a time.
- Trigger: Analog triggers of the controller.