top of page

ControllerTest

  • Release Date: 2/13/18

  • Platforms: PC, Mac, Android

  • Game Engine: LibGDX

  • Programming Language(s): Java

ControllerTest 2021-01-19 19-49-05.mp4_s

This is a simple utility that can be used to configure a controller. The idea was that Android users would be able to use this application to configure their controller for use with my games. This isn't quite an elegant solution to the problem, but should the alternative would be copying the code into every game and providing a UI for the input-binding process. This just seemed easier. Most of my libGDX Android versions will check for the presence of this application, and if it exists, it will load the controller configuration from this app. Otherwise, it will try its best to auto configure your controller, but controllers are sort of inconsistent among different Android versions, so this application is very necessary, and should be able to work with most controllers.

Video

Usage

  • The application creates a configuration file on the user's desktop. On newer Android devices(Post-KitKat), the configuration will will be stored in Android/data/com.imackshun.utilities.controllertest/ControllerTest/. On older Android devices(Pre-KitKat), the file will be stored in a folder on the root of either internal or external storage. This file is stored in JSON, so it can be modified manually if you know your keycodes. As such, this application needs permission to read and write to external storage. Failure to do so will result in a crash.

  • This application was developed specifically with Android in mind, but there is a PC version as well. As always, the .jar runs like an executable, as long as you have Java installed on your computer.

  • I tried to make it as flexible possible. As such, keep in mind that for the DPAD, if the DPAD is a POV and has intermediate directions, binding it involves pressing up and rolling it counter-clockwise. For joysticks, you must let all sticks rest, and then press and hold it in the prompted direction. For triggers, particularly those that aren't buttons, you must let all joysticks and triggers rest, and then press and hold it down, and then release it when prompted for a few seconds.

Controls

  • Tap on the "Controller #" button to change the slot of the configuration. There are 2 controller slots.

  • Press the wrench icon to begin configuring your controller.

  • While configuring your controller, touch and release the screen quickly to skip an input, such as one that isn't supported by your controller.

  • While configuring your controller, touch and hold the screen to reset the configuration, such as if you made a mistake and want to restart.

Features

  • Clean UI

  • Supports Most Controllers

  • Outputs controller info. Use adb logcat to see what the application processes.

Download Links

bottom of page