package sig.modules; import java.awt.Color; import java.awt.Cursor; import java.awt.Graphics; import java.awt.Image; import java.awt.Point; import java.awt.Rectangle; import java.awt.event.MouseEvent; import java.awt.event.WindowEvent; import java.awt.geom.Rectangle2D; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.imageio.ImageIO; import org.lwjgl.glfw.GLFW; import sig.Module; import sig.sigIRC; import sig.modules.Controller.Axis; import sig.modules.Controller.Button; import sig.modules.Controller.ClickableButton; import sig.modules.Controller.Component; import sig.modules.Controller.ControlConfigurationWindow; import sig.modules.Controller.Controller; import sig.modules.Controller.EditMode; import sig.modules.Controller.Identifier; import sig.modules.Controller.Type; import sig.modules.Controller.clickablebutton.AddClickableButton; import sig.modules.Controller.clickablebutton.CopyClickableButton; import sig.utils.DrawUtils; import sig.utils.FileUtils; public class ControllerModule extends Module{ public final static String CONTROLLERPATH = sigIRC.BASEDIR+"sigIRC/controller/"; List controllers = new ArrayList(); Image controller_img; double imgratio = 1; List