Make XBoxController Button enum public (#1823)

This allows using the raw button number in places where that is useful.
This commit is contained in:
Oblarg
2019-08-17 01:21:49 -04:00
committed by Peter Johnson
parent a216b9e9ee
commit a3dd84e854
2 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2016-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -232,7 +232,6 @@ class XboxController : public GenericHID {
*/
bool GetStartButtonReleased();
private:
enum class Button {
kBumperLeft = 5,
kBumperRight = 6,