How to make own java code/libraries?

This is my second year as programmer(java), and I’m ready to up my game. As part of this, I want to try driving with a Logitech g27 steering wheel. I’m guessing I’ll have to make my own libraries for this so I’m curious as to how I would even start on this… any resources anyone can point me to?

Most USB steering wheels show up as regular ol’ XInput controllers to make it easier on game developers. if it shows up in the driver station, you don’t need anything fancy for basic input. It’ll just be an axis most likely, and you can access in code the same way you could an axis on any other controller.

The steering wheel is an HID game controller, so you can use it like any joystick. You’ll have to determine which joystick axis each physical axis is assigned to, which you can do with the driver station or the Windows game controller setup tool. From there you can do the following to get the value from each axis:

joystick.getRawAxis(axis);