commit | 75c6af425f1ab1562210e3b2f308ffa89ba6f243 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Fri Mar 09 21:16:07 2018 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Fri Mar 09 21:35:36 2018 -0800 |
tree | 844b67b3c6b9928de325d89b21c462eb0bdfd1da | |
parent | 0e71e8ce7fb1fc750b75e9a2e36e2f9dc3888169 [diff] [blame] |
Split button board into 2 16 button joysticks. WPILib was unhappy with more than 16 buttons. Change-Id: I3b874678d262245912f0f67896d8db6562fd8742
diff --git a/aos/common/input/driver_station_data.h b/aos/common/input/driver_station_data.h index 507ad61..874b90c 100644 --- a/aos/common/input/driver_station_data.h +++ b/aos/common/input/driver_station_data.h
@@ -41,7 +41,7 @@ : JoystickFeature(joystick, number) {} // How many buttons there are available on each joystick. - static const int kButtons = 12; + static const int kButtons = 16; }; // Represents the direction of a POV on a joystick.