On this page
output.clear
Forces every button, stick axis, and trigger neutral for the current packet.
Syntax
Atlas Script
output.clear()Parameters
This method does not accept arguments.
Return value
See the remarks for the returned value and runtime behavior.
Remarks
Forces every button, stick axis, and trigger neutral for the current packet. It does not mark touch or motion as overridden. It is equivalent to output.neutral in the current VM.
Examples
Emergency neutral packet.atlas
event on_input() {
if (input.pressed("options")) {
output.clear();
system.log("Controller output neutralized for this packet");
}
}