Quasics2019Code/HedyLamarr/src/main/cpp/OI.cpp
//tests the Left Joystick on the Xbox Controller to see if the Elevator is
// signaled to go Up

tests the Left Joystick on the Xbox Controller to see if the Elevator is
signaled to go Up
tests the Left Joystick on the Xbox Controller to see if the Elevator is signaled to go Up
bool OI::isElevatorMoveUpSignaled() {
  const double joystick = operatorStick->GetRawAxis(XBox_LeftYAxis);
  if (joystick <= -kElevatorDeadZoneWidth) {
    return true;
  } else {
    return false;
  }
}
bool OI :: isElevatorMoveUpSignaled ( ) { const double joystick = operatorStick -> GetRawAxis ( XBox_LeftYAxis ) ; if ( joystick <= - kElevatorDeadZoneWidth ) { return true ; } else { return false ; } }
tests the Left Joystick on the Xbox Controller to see if the Elevator is
signaled to go Up
tests the Left Joystick on the Xbox Controller to see if the Elevator is signaled to go Up