Supporting Game Controllers

Dependencies and prerequisites

You should also read

Try it out

You can greatly enhance the user experience in your game by letting
players use their favorite game controllers. The Android framework provides
APIs for detecting and processing user input from game controllers.

This class shows how to make your game work consistently with game
controllers across different Android API levels (API level 9 and up),
and how to enhance the gaming experience for players by supporting multiple
controllers simultaneously in your app.