Fix FRCSim artf2589 and cleanup the surrounding code.

Change-Id: Ic2b7e3efea40e8e65836aac1128b225f92f2b663
This commit is contained in:
Colby Skeggs
2014-06-18 17:17:52 -07:00
parent e69c1ea198
commit f598abf5bc
3 changed files with 53 additions and 23 deletions

View File

@@ -36,7 +36,8 @@ public:
static const uint32_t kJoystickAxes = 6;
float GetStickAxis(uint32_t stick, uint32_t axis);
bool GetStickButtons(uint32_t stick, uint32_t button);
bool GetStickButton(uint32_t stick, uint32_t button);
short GetStickButtons(uint32_t stick);
float GetAnalogIn(uint32_t channel);
bool GetDigitalIn(uint32_t channel);