Game controller input

From Tekkotsu Wiki

Jump to: navigation, search

The ControllerGUI can receive input from an XBox 360 game controller via the libjinput-java package.

This library includes both a jinput.jar file and an OS/architecture specific binary file (a .so file for Linux).

The net.java.games.util.* classes can be found in /usr/share/java/jinput.jar, which must be added to the CLASSPATH in the ControllerGUI shell script. The .so file ends up in the standard system search path so it does not need to be added to LD_LIBRARY_PATH.

To turn on game controller input, type

ControllerGUI [hostname] -g