Sorry, the one I was using as map was outputmap. I called it map in all the events though. (Map is inputmap, will go ahead and rename it.)
Also, how do I make it public so I don't have to write:
Code:
import edu.wpi.first.wpilibj.templates.outputmap;
//inside of class
outputmap map=new outputmap();
every time?