Thread: XBox controller
View Single Post
  #2   Spotlight this post!  
Unread 12-12-2012, 08:28
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: XBox controller

I haven't been back to this thread in a while, so I haven't had a chance to say THANK YOU ALL SO MUCH! I really appreciate it! I just had a few more questions...
THe code provided by Toa works, but I had a few questions about how exactly it works. It only references
Code:
leftStick->GetRawAxis(1), leftStick->GetRawAxis(2)
so why do I even need
Code:
rightStick = new Joystick(2);
? Also, why is it myRobot->Drive() and not robotDriver.ArcadeDrive() or myRobot->ArcadeDrive()? Any help would be great! Once again, thanks for all your help!
Reply With Quote