Utilitys for using controllers with libGDX
All subprojects are technically independant, you can use only one of them in your project. They are bundled in a single Github project because all have something to do with Game Controller Input and libGDX.
Support configurable mappings for game controllers in your projects.
Key and button supporting Stage with focusable Actors for Scene2d. This is also usable in games without Game Controller support.
Jamepad implementation for libGDX' controller interfaces. Bring hotplugging to Lwjgl2 by just changing your gradle file!
core-scene2d is shown with sources in raeleus' Shadow Walker UI demo.
See core-mapping and core-scene2d in action in my game Falling Lightblocks Web/Android/FireTV. Take a look at the SMC Platformer example project for sources using core-mapping.
This project is published to the Sonatype Maven repository. You can integrate the lib into your project by just adding the dependencies to your build.gradle
file.
Define the version of this API right after the gdxVersion:
gdxVersion = '1.9.6' //or another gdx version you use
cuversion = '0.1.3'
Then add the needed dependencies to your project. You will find the artifact ids on the subproject's wiki sites.
To build from source, clone or download this repository, then open it in Android Studio. Perform the following command to compile and upload the library in your local repository:
gradlew clean uploadArchives -PLOCAL=true
See build.gradle
file for current version to use in your dependencies.
Follow me to receive release updates about this
https://twitter.com/MrStahlfelge
The project is licensed under the Apache 2 License, meaning you can use it free of charge, without strings attached in commercial and non-commercial projects. We love to get (non-mandatory) credit in case you release a game or app using this project!