controllerName = controller;
}
public boolean apply(final TwoInputStates states) {
boolean apply = false;
final ControllerState currentState = states.getCurrent().getControllerState();
final ControllerState previousState = states.getPrevious().getControllerState();
if (!previousState.equals(currentState)) {
if (controllerName == null) {
controllerName = currentState.getControllerNames().get(controllerIndex);
}
final List<ControllerEvent> events = currentState.getEvents();
for (final ControllerEvent event : events) {