org.jagatoo.input.listeners
Interface ControllerListener

All Known Subinterfaces:
InputListener
All Known Implementing Classes:
ControllerAdapter, InputAdapter, ListeningInputHandler

public interface ControllerListener

Listens for Controller events.


Method Summary
 void onControllerAxisChanged(ControllerAxisChangedEvent e, ControllerAxis axis, float axisDelta)
           
 void onControllerButtonPressed(ControllerButtonPressedEvent e, ControllerButton button)
           
 void onControllerButtonReleased(ControllerButtonReleasedEvent e, ControllerButton button)
           
 void onControllerButtonStateChanged(ControllerButtonEvent e, ControllerButton button, boolean state)
           
 

Method Detail

onControllerAxisChanged

void onControllerAxisChanged(ControllerAxisChangedEvent e,
                             ControllerAxis axis,
                             float axisDelta)

onControllerButtonPressed

void onControllerButtonPressed(ControllerButtonPressedEvent e,
                               ControllerButton button)

onControllerButtonReleased

void onControllerButtonReleased(ControllerButtonReleasedEvent e,
                                ControllerButton button)

onControllerButtonStateChanged

void onControllerButtonStateChanged(ControllerButtonEvent e,
                                    ControllerButton button,
                                    boolean state)