Hei!
Ok, I get the examples working with my Netbeans 6.5.1.
Now i just need to study how to read gamepads.
( edit. )
I have MOUSE and TWIN USB JOYSTICK.
I found the readallevents demo source, i managed to run it correctly.
after a while when it is running it starts to give me following error message,
Failed to poll device: Failed to get device key states (9)
This message comes from my second Gamepad the first Gamepad and Mouse
are operating OK, what may be the reason for second Gamepad to stop operating ??
Is there any way to reset JINPUT after fail ??
( edit. )
the second Gamepad stops operating when i at the same time read my mouse and the first Gamepad.
i dont get this error when i stop reading MOUSE, both my Gamepads operate just fine when i dont read Mouse, why ??
( edit. )
hmmh, i have 10 USB connections on my computer, i changed both the Mouse and Twin USB Joystick USB ports to another,
and now it seems that i havent received the error message anymore for a while, half of the weekend i spend with the problem,
now it seems to solve itself when i just changed usb ports, .
( edit. )
Error is back, i start a new thread for it.
//----
Thanks,