at.wisch.joystick.test
Class JoystickInputDemo

java.lang.Object
  extended by at.wisch.joystick.test.JoystickInputDemo
All Implemented Interfaces:
ControllerEventListener

public class JoystickInputDemo
extends java.lang.Object
implements ControllerEventListener

The Class JoystickInputDemo. It demonstrates how to use this driver for reading inputs.

Look at the source code to get to know how input works.

Author:
Martin Wischenbart
See Also:
JoystickForceDemo

Method Summary
 void controllerEventOccured(AdvancedControllerEvent event)
          Handles an AdvancedControllerEvent.
static void main(java.lang.String[] args)
          The main method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
The main method.

Parameters:
args - (no args needed)

controllerEventOccured

public void controllerEventOccured(AdvancedControllerEvent event)
Description copied from interface: ControllerEventListener
Handles an AdvancedControllerEvent.

Specified by:
controllerEventOccured in interface ControllerEventListener
Parameters:
event - an instance of AdvancedControllerEvent