LemonInputSim
LemonInputSim
Section titled “LemonInputSim”Simulated controller that drives a LemonInput on the same port,
using the same button mapping as LemonInput(port, variant).
Call notify_new_data() after setting values to publish them.
Methods
Section titled “Methods”init()
Section titled “init()”_set_button()
Section titled “_set_button()”_set_axis()
Section titled “_set_axis()”setLeftBumper()
Section titled “setLeftBumper()”setRightBumper()
Section titled “setRightBumper()”setStartButton()
Section titled “setStartButton()”setBackButton()
Section titled “setBackButton()”setAButton()
Section titled “setAButton()”setBButton()
Section titled “setBButton()”setXButton()
Section titled “setXButton()”setYButton()
Section titled “setYButton()”setLeftStickButton()
Section titled “setLeftStickButton()”setRightStickButton()
Section titled “setRightStickButton()”setRightTriggerAxis()
Section titled “setRightTriggerAxis()”setLeftTriggerAxis()
Section titled “setLeftTriggerAxis()”setLeftX()
Section titled “setLeftX()”setLeftY()
Section titled “setLeftY()”setRightX()
Section titled “setRightX()”setRightY()
Section titled “setRightY()”setPov()
Section titled “setPov()”Sets the POV from an angle in degrees (-1 for centered) or a POVDirection.