I'm porting an application that uses the Xbox controller to Linux. On windows, it essentially just uses XInputGetState()
to read the state of the controller, so I'm looking for a replacement for that function on Linux.
I see that wine hasn't implemented XInputGetState()
, but at the same time there are a large number of games supporting the Xbox controller on Linux, so it's doable.
Does anyone know what library can be used to interact with an Xbox controller on Linux?