gzz.client
Interface JoystickListener

All Known Implementing Classes:
JoystickState

public interface JoystickListener

An interface for receiving joystick events.


Method Summary
 void axis(long ms, int axis, float value)
          An axis was moved.
 void button(long ms, int button, boolean value)
           
 

Method Detail

axis

public void axis(long ms,
                 int axis,
                 float value)
An axis was moved.

Parameters:
ms - The timestamp of the event, in milliseconds compatible with System.currentTimeMillis().

button

public void button(long ms,
                   int button,
                   boolean value)