Game Control Plus


This library enables the user to create sketches that use joystick, gamepad or similar input device.


This library is an updated and extended version of proCONTROLL created by Christian Riekoff in 2005.

The main enhancement is the support for developing sketches that can adapt to using different input devices and operating systems at runtime without the need for refactoring the source code.

Before attempting to use this library I strongly recommend you watch the three video guides (1, 2, 3) as they provide a detailed view of how the library works and how you can use it.

Library Examples

Although this library has no external dependancies some of the examples use other libraries which can be install through the Processing IDE menus.


Dependancies : G4P

This sketch will search for all connected devices and allow you to create configuration files for your own sketches. Look at the third video guide to see how to do this.


Dependancies : G4P

This will search for and display all connected devices. The ouput is in two parts, a simple device listing and a detailed description of each device and their inputs. It also creates two files, 'listing.txt' and 'details.txt', they can be viewed and printed in any text editor.

NOTE: In the next 3 examples you are likely to be prompted to configure another control device. The reason is that you are unlikely to use the same control device and/or operating system used when creating them. I suggest that you watch the second video guide before you try them .


Dependancies : Sprites
Created with : Logictech 3D Pro joystick on OSX

Use a joystick to control the tank and see how long it takes to destroy all the targets.


Dependancies : None
Created with : XBOX 360 wired controller on OSX

Simple demo using a gamepad.


Dependancies : None
Created with : Logictech 3D Pro joystick on OSX

Simple demo using a joystick.