commit | 6591d5856ce80620bb5657c1f50ab8f5540e9f6f | [log] [tgz] |
---|---|---|
author | brians <brians@f308d9b7-e957-4cde-b6ac-9a88185e7312> | Sun Mar 03 05:31:53 2013 +0000 |
committer | brians <brians@f308d9b7-e957-4cde-b6ac-9a88185e7312> | Sun Mar 03 05:31:53 2013 +0000 |
tree | 5e4ec8b972e000083569d32d50441dc1ae6f4308 | |
parent | 759380a660857540d62b1be406c2eaf7f2e2d9c1 [diff] [blame] |
added support for test mode to the rest of the code git-svn-id: https://robotics.mvla.net/svn/frc971/2013/trunk/src@4180 f308d9b7-e957-4cde-b6ac-9a88185e7312
diff --git a/aos/atom_code/input/JoystickInput.h b/aos/atom_code/input/JoystickInput.h index de5de04..ddb0388 100644 --- a/aos/atom_code/input/JoystickInput.h +++ b/aos/atom_code/input/JoystickInput.h
@@ -23,6 +23,7 @@ static const int ENABLED = 13; static const int AUTONOMOUS = 14; static const int FMS_ATTACHED = 15; + static const int TEST_MODE = 16; bool Pressed(int stick, int button) { return buttons[stick] & MASK(button); }