public class TestListener extends Object implements JoystickEventListener
| Constructor and Description | 
|---|
| TestListener(String objectName) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | receiveJoystickEvent(JoystickEvent controllerEvent,
                    JoystickObserver dispatcher)Receives an event from the joystick controller and adds it to a
 thread-safe queue for retrieval by the Execution object. | 
public TestListener(String objectName)
public void receiveJoystickEvent(JoystickEvent controllerEvent, JoystickObserver dispatcher)
JoystickEventListenerreceiveJoystickEvent in interface JoystickEventListenercontrollerEvent - latest event from joystickdispatcher - The object sending the event (usually the joystick object)