View Single Post
  #1   Spotlight this post!  
Unread 12-02-2009, 19:54
xtreampb's Avatar
xtreampb xtreampb is offline
Lead Programmer 2642
FRC #2642 (Pitt Pirates)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Snow Hill
Posts: 21
xtreampb is an unknown quantity at this point
Send a message via AIM to xtreampb Send a message via Yahoo to xtreampb
"GetTrigger(KHand hand)" what???

in the joystick class, the member function GetTrigger(), how do i use this. I am using it in the following code:

if (m_FireStick->GetTrigger())
{
solenoid->Set(true);
solenoid->Set(false);
}

when i press the trigger, the code isn't executing. what am i doing wrong