View Single Post
  #4   Spotlight this post!  
Unread 07-02-2009, 13:59
bwobo bwobo is offline
Team 1458
FRC #1458
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: California
Posts: 15
bwobo is just really nicebwobo is just really nicebwobo is just really nicebwobo is just really nice
Send a message via AIM to bwobo
Re: Joystick Trigger Programming

Is there not a GetTrigger function in Joystick.h?
I don't have the header files here, but i think there is one. (you can check)
EDIT:
in Joystick.h, there is a GetTrigger function, as well as just the normal numbered 1-11 buttons
Code:
virtual bool GetTrigger(JoystickHand hand = kRightHand);
bool GetRawButton(UINT32 button);
that is from the header file, so you would just use GetTrigger and GetRawButton

Byteit is good on the limit switch too,I think not sure, that the Jaguars also have built in limit switch support, no code required
__________________

Last edited by bwobo : 07-02-2009 at 21:00.
Reply With Quote