View Single Post
  #1   Spotlight this post!  
Unread 02-16-2016, 03:25 PM
jthenderson jthenderson is offline
Registered User
FRC #5464 (BlueJackets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: minnesota
Posts: 8
jthenderson is an unknown quantity at this point
XBOX RUMBLE triggering

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/rel...e454c1c7ed 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);
}
Reply With Quote