I've written this simple platformer game using LibGDX. It's a multiplayer game where the aim is to collect more coins than your opponents before you run out of lives. The screen constantly scrolls upwards, and you have to avoid being left behind at the bottom. I've tested it with PS4 controllers, I assume (probably incorrectly) that X-Box controllers should work as well.
Full source code is available here.