// Path: core/src/event/ControllerChangeEvent.java
// public class ControllerChangeEvent extends Event {
// 
// 	private final int index;
// 
// 	public ControllerChangeEvent(int ctrlIndex) {
// 		this.index = ctrlIndex;
// 	}
// 
// 	public int getControllerIndex() {
// 		return index;
// 	}
// }


import model.ModelManager;
import model.battlefield.lighting.SunLight;
import model.editor.ToolManager;
import com.jme3.input.InputManager;
import com.jme3.input.KeyInput;
import com.jme3.input.controls.KeyTrigger;
import com.jme3.input.controls.MouseButtonTrigger;
import controller.InputInterpreter;
import controller.Reporter;
import event.ControllerChangeEvent;
import event.EventManager;

					break;
			}
		}
	}

	@Override
	public void onAction(String name, boolean isPressed, float tpf) {
		if (!isPressed) {
			switch (name) {
				case PRIMARY_ACTION:
					ToolManager.primaryAction();
					analogUnpressed = true;
					break;
				case SECONDARY_ACTION:
					ToolManager.secondaryAction();
					analogUnpressed = true;
					break;
				case INC_DAYTIME:
				case DEC_DAYTIME:
				case COMPASS_EAST:
				case COMPASS_WEST:
				case INC_INTENSITY:
				case DEC_INTENSITY:
				case DEC_RED:
				case DEC_GREEN:
				case DEC_BLUE:
					analogUnpressed = true;
					break;

				case SWITCH_CTRL_1:

// Path: core/src/event/ControllerChangeEvent.java
// public class ControllerChangeEvent extends Event {
// 
// 	private final int index;
// 
// 	public ControllerChangeEvent(int ctrlIndex) {
// 		this.index = ctrlIndex;
// 	}
// 
// 	public int getControllerIndex() {
// 		return index;
// 	}
// }


// Path: core/src/controller/editor/EditorInputInterpreter.java
import model.ModelManager;
import model.battlefield.lighting.SunLight;
import model.editor.ToolManager;
import com.jme3.input.InputManager;
import com.jme3.input.KeyInput;
import com.jme3.input.controls.KeyTrigger;
import com.jme3.input.controls.MouseButtonTrigger;
import controller.InputInterpreter;
import controller.Reporter;
import event.ControllerChangeEvent;
import event.EventManager;

					break;
			}
		}
	}

	@Override
	public void onAction(String name, boolean isPressed, float tpf) {
		if (!isPressed) {
			switch (name) {
				case PRIMARY_ACTION:
					ToolManager.primaryAction();
					analogUnpressed = true;
					break;
				case SECONDARY_ACTION:
					ToolManager.secondaryAction();
					analogUnpressed = true;
					break;
				case INC_DAYTIME:
				case DEC_DAYTIME:
				case COMPASS_EAST:
				case COMPASS_WEST:
				case INC_INTENSITY:
				case DEC_INTENSITY:
				case DEC_RED:
				case DEC_GREEN:
				case DEC_BLUE:
					analogUnpressed = true;
					break;

				case SWITCH_CTRL_1:

					EventManager.post(new ControllerChangeEvent(0));
