billdar
27-01-2007, 18:04
I'm familiar with the OIToRelay, OIToPWM, and the OIToDOutput functions,
but is there a way to read the state of the joystick pushbuttons directly?
(ie, something like GetTriggerButton())
Basically I'm trying to do some additional logic between when a button
is pressed and when a control action is performed.
Also, a side note. I had to move a couple function prototypes and defines
(but not everything) from API.h into the file I'm calling them from in MPLAB.
I saw an earlier post on this concerning EasyC, but the solution didn't seem
to exactly apply.
Thanks in advance.
-Bill
Team 2085
but is there a way to read the state of the joystick pushbuttons directly?
(ie, something like GetTriggerButton())
Basically I'm trying to do some additional logic between when a button
is pressed and when a control action is performed.
Also, a side note. I had to move a couple function prototypes and defines
(but not everything) from API.h into the file I'm calling them from in MPLAB.
I saw an earlier post on this concerning EasyC, but the solution didn't seem
to exactly apply.
Thanks in advance.
-Bill
Team 2085