fi.hut.tml.xsmiles.mlfc.io
Class InterfaceTest

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.io.InterfaceTest
All Implemented Interfaces:
JoystickListener, KeyboardListener

public class InterfaceTest
extends java.lang.Object
implements JoystickListener, KeyboardListener


Constructor Summary
InterfaceTest()
           
 
Method Summary
 void joystickChanged(DirectDevice dev)
          Called when joystick axises or buttons are changed.
 void keyboardChanged(DirectDevice dev)
          Called when keyboard keys change state.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceTest

public InterfaceTest()
Method Detail

main

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

joystickChanged

public void joystickChanged(DirectDevice dev)
Description copied from interface: JoystickListener
Called when joystick axises or buttons are changed.

Specified by:
joystickChanged in interface JoystickListener
Parameters:
dev - Reference to the joystick object, to retrieve the values

keyboardChanged

public void keyboardChanged(DirectDevice dev)
Description copied from interface: KeyboardListener
Called when keyboard keys change state.

Specified by:
keyboardChanged in interface KeyboardListener
Parameters:
dev - Reference to the keyboard object, to retrieve the values


X-Smiles 1.2