dependencies for Windows Libraries. Need to implement cross-platform libraries and provide a java system path (instead of root path)dev
parent
222de35e80
commit
a96e8ad323
Binary file not shown.
Binary file not shown.
@ -1 +1 @@ |
||||
java -jar ./sigIRCv2.jar |
||||
java -jar ./sigIRCv2.jar -Djava.library.path=lib/ |
Binary file not shown.
@ -0,0 +1,27 @@ |
||||
package sig.modules; |
||||
|
||||
import java.awt.Graphics; |
||||
import java.awt.geom.Rectangle2D; |
||||
|
||||
import net.java.games.input.Controller; |
||||
import net.java.games.input.ControllerEnvironment; |
||||
import sig.Module; |
||||
|
||||
public class ControllerModule extends Module{ |
||||
|
||||
public ControllerModule(Rectangle2D bounds, String moduleName) { |
||||
super(bounds, moduleName); |
||||
Controller[] ca = ControllerEnvironment.getDefaultEnvironment().getControllers(); |
||||
for (Controller c : ca) { |
||||
System.out.println(c.getName()); |
||||
} |
||||
} |
||||
|
||||
public void run() { |
||||
super.run(); |
||||
} |
||||
|
||||
public void draw(Graphics g) { |
||||
super.draw(g); |
||||
} |
||||
} |
Loading…
Reference in new issue