|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
Re: Programming the joystick trigger...
There's a function of the Joystick class called "GetTrigger".
So, the code that you would want to use would be something like the following, where m_Stick is the name of the Joystick object that you want to check. Code:
if (m_Stick->GetTrigger()) {
...
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Joystick Programming | greatman05 | Programming | 11 | 30-01-2008 20:40 |
| Single Click On/Off Using the Trigger in EasyC | IraJason | Programming | 15 | 01-06-2007 11:37 |
| Joystick Programming | LieAfterLie | Programming | 7 | 15-02-2007 09:30 |
| Programming a Joystick | sbf2009 | Programming | 3 | 10-02-2007 15:59 |
| Programming the second joystick in PBASIC | archiver | 2001 | 2 | 24-06-2002 00:25 |