|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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); } |
|
#2
|
|||||
|
|||||
|
Re: XBOX RUMBLE triggering
Do you need to explicitly call out the class name when using those constants? e.g. Joystick::kLeftRumble
|
|
#3
|
|||
|
|||
|
Re: XBOX RUMBLE triggering
Thanks! I didn't think of that! This was super helpful!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|