![]() |
"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 |
Re: "GetTrigger(KHand hand)" what???
Quote:
Code:
if (m_FireStick->GetTrigger()) |
Re: "GetTrigger(KHand hand)" what???
the code in the brackets is fine. it runs when i use if(GetRawButton(button))
It doesn't work when i use the GetTrigger(); do i need to use any paramiters because i know that in the templet or tool tip it says hand so i know that is fir the generic HID but do i need to insert anything. I dont get any build errors when I dont use paramiters. Please ignore the poor spelling, there is a reason why i program on a computer...spell check :p ~xtreampb~ Pitt Pirates 2642 |
Re: "GetTrigger(KHand hand)" what???
Quote:
|
Re: "GetTrigger(KHand hand)" what???
Quote:
|
| All times are GMT -5. The time now is 02:23. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi