org.jagatoo.input.listeners
Interface InputStateListener

All Known Implementing Classes:
InputBindingsAdapter, ListeningInputHandler, SimpleInputActionManager

public interface InputStateListener

An InputStateListener is a general listener for all input devices and all kinds of input events.
A listener like this is notified of any state-change of an input device.


Method Summary
 void onInputStateChanged(InputEvent e, DeviceComponent comp, int delta, int state)
          This event is fired, if an input device of any kind changed its state.
 

Method Detail

onInputStateChanged

void onInputStateChanged(InputEvent e,
                         DeviceComponent comp,
                         int delta,
                         int state)
This event is fired, if an input device of any kind changed its state.

Parameters:
e - the abstract event, that was triggered.
comp - the DeviceComponent, that is responsible for this event
delta - the delta information
state - the absolute state