sdl2gdx - Java wrapper for SDL and LibGDX controller API

Any community contributions to libgdx go here! Some may get included in the core API when permission is granted.

sdl2gdx - Java wrapper for SDL and LibGDX controller API

Postby ElectronStudio » Sun Jul 14, 2019 2:34 am

I was frustrated with the limitations of controllers in LibGDX so I decided to use SDL instead.

https://github.com/electronstudio/sdl2gdx

The main improvements over LibGDX controllers are:
  • Hotplug works.
  • Doesn't quit working when the screenmode changes.
  • Rumble works.
  • Database of mappings for most controllers, so you don't have to worry about mapping.
  • Supports more than 4 XInput controllers

It's a drop in replacement for LibGDX controllers so you shouldn't need to change any code to use it.
ElectronStudio
 
Posts: 2
Joined: Fri Jun 21, 2019 10:59 am

Re: sdl2gdx - Java wrapper for SDL and LibGDX controller API

Postby evilentity » Sun Jul 14, 2019 8:10 am

Really cool!
Looking for a freelancer? PM me!
Check out libgdx discord server!
evilentity
 
Posts: 4854
Joined: Wed Aug 24, 2011 11:37 am


Return to Libgdx Contributions

Who is online

Users browsing this forum: No registered users and 1 guest