12-11-2011 10:14 PM - edited 12-11-2011 10:17 PM
Hi,
In case this might be of use, here's some sample code that traps joystick events with an event structure. There may be an example like this here already - if so, apologies for taking up space. The only examples I saw use polling to check for joystick changes. 😞
This example builds on some code found here for trapping windows-messages.
Cheers.
12-11-2011 10:29 PM
... one more time
Am also attaching the messaging .zip and Messaging.txt - some source code that lists windows messages. 🙂
Cheers!
12-13-2011 04:26 PM
Hello 550nm (Yellow with a tinge of green )
We really appreciate your contibrution but the right place to put examples will be the community.
Thanks again.
Warm regards,
Mart G.
12-13-2011 05:17 PM
@margasan wrote:
>We really appreciate your contibrution but...
Mart G.
Hi Mart,
For the record, the two CLF calls to Winmm.dll need to have WinAPI checked, and the one labeled "JoyReleaseCapture" needs to be corrected to invoke the "joyReleaseCapture" function. However, I'll post any new code to correct place -
thanks for the link. 🙂
Cheers.