Game controller input

From Tekkotsu Wiki

Revision as of 11:41, 17 July 2016 by Touretzky (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
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* 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