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

@@ -221,7 +221,7 @@ bool Joystick::GetBumper(JoystickHand hand)
**/
bool Joystick::GetRawButton(uint32_t button)
{
return m_ds->GetStickButtons(m_port, button);
return m_ds->GetStickButton(m_port, button);
}
/**