Open nixnull opened 10 years ago
It's definitely possible. From a quick search I see joystick api for win32, somewhat weird api for linux. But I only use linux now, and don't have a joystick to experiment with.
Have a look at https://code.google.com/p/jnativehook/. They have support for listening to mouse events, maybe you'll be able to listen to joystick too.
Thanks for the information. They also do not currently support joysticks (on linux at least), but I have asked them about the future possibility of doing so. Unfortunately I do not have the time or knowledge to offer help in coding on this matter.
Hello,
I've been using your code in my project OSplt. It works wonderfully and I'm very greatful. I was wondering if there was some way to deal with Joystick input, as it would be quite useful for my project.