package org.robockets.buttonmanger.buttons;

import org.robockets.buttonmanger.Button;

import edu.wpi.first.wpilibj.command.Command;

public class ActionButton extends Button {
	
	public ActionButton(int joystickNumber, int buttonNumber, Command command) {
		super(joystickNumber, buttonNumber, command);
	}
}

@@ -171,16 +171,55 @@
 utton %7B%0A
+%09private boolean killOnRelease = true;%0A
 %09%0A%09publi
@@ -286,16 +286,39 @@
  command
+, boolean killOnRelease
 ) %7B%0A%09%09su
@@ -361,13 +361,125 @@
 mmand);%0A
+%09%09this.killOnRelease = killOnRelease;%0A%09%7D%0A%09%0A%09protected void notPressed() %7B%0A%09%09if (killOnRelease) %7B%0A%09%09%09stop();%0A%09%09%7D%0A
 %09%7D%0A%7D%0A

Fix ActionButton