I would like to emulate an XInput gamepad (controller) using Java. I've searched around the net but I couldn't really find any solution for my problem. Is it possible to simulate an XInput controller using Java?
I'm currently playing a game called Assetto Corsa, this game doesn't support the gamepad I'm currently using. This is why I would like to create a little program that simulates an XInput controller based on the current controller I'm using.
There are libraries available like JXInput
that allow you to use XInput controllers in java, but I would like to have it the other way around. I couldn't find any solution for this on their pages.
What you are proposing can be done. In fact I used one few years back to play with a non XINPUT device. Search the internet.
Check this out https://code.google.com/p/x360ce/