How to Use Fanatech Steering Wheel With LWJGL

Hi,

Does anybody know how to control a USB racing wheel using LWJGL / JInput?

Is there a tutorial or code example?

I’m thinking of building a racing game, but don’t want to limit the player to
just keyboard or mouse control.

I’m considering buying Fanatech’s steering wheel to test it out. I know it’s DirectX
compatible, but not sure if its gonna work on Java?

Thanks in advance dudes!

PS: Will one set of Java code works for all USB PC-Compatible racing wheels?
Or are they are all different and I have to write different codes to support different
wheels (e.g. Microsoft, Logitech, etc.)

JInput supports DirectInput/DirectX, so it should work fine there. LWJGL just uses JInput internally so you can use either one of them to access the wheel.

Thanks Momoko_Fan, you’re a champion! 8)