jthenderson
16-02-2016, 15:25
Hey Chief Delphi! does anyone know how to trigger the xbox rumble? in c++... I'm following this page (http://first.wpi.edu/FRC/roborio/release/docs/cpp/classJoystick.html#ac4179e6e493357c06cb8e454c1c7ed ef) and SetRuble(kLeftRumble) is always underlined in red... it would be used to trigger when we are in shooting range... it would be a massive help!
Thanks for your time!
if (stick2.GetRawButton(8) == true)
{
stick2.SetRumble(kLeftRumble, 1);
}
else
{
stick2.SetRumble(kLeftRumble, 0);
}
Thanks for your time!
if (stick2.GetRawButton(8) == true)
{
stick2.SetRumble(kLeftRumble, 1);
}
else
{
stick2.SetRumble(kLeftRumble, 0);
}