Changes the build structure to put the library in its own project.
This cleans up dependencies some.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -28,61 +28,6 @@ public class Main extends SimpleApplication
|
||||
private static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.
|
||||
getLogger(Main.class);
|
||||
|
||||
/**
|
||||
* Triangle on Playstation, Y on Xbox, and X on Nintendo.
|
||||
*/
|
||||
public static final String ACTION_TOP = JoystickButton.BUTTON_0;
|
||||
/**
|
||||
* Circle on Playstation, B on Xbox, and A on Nintendo.
|
||||
*/
|
||||
public static final String ACTION_RIGHT = JoystickButton.BUTTON_1;
|
||||
/**
|
||||
* X on Playstation, A on Xbox, and B on Nintendo.
|
||||
*/
|
||||
public static final String ACTION_BOTTOM = JoystickButton.BUTTON_2;
|
||||
/**
|
||||
* Square on Playstation, X on Xbox, and Y on Nintendo.
|
||||
*/
|
||||
public static final String ACTION_LEFT = JoystickButton.BUTTON_3;
|
||||
public static final String L1 = JoystickButton.BUTTON_4;
|
||||
public static final String R1 = JoystickButton.BUTTON_5;
|
||||
/**
|
||||
* Some gamepads (Xbox controllers notable) will use
|
||||
* {@link JoystickAxis#LEFT_TRIGGER} instead.
|
||||
*/
|
||||
public static final String L2 = JoystickButton.BUTTON_6;
|
||||
/**
|
||||
* Some gamepads (Xbox controllers notable) will use
|
||||
* {@link JoystickAxis#RIGHT_TRIGGER} instead.
|
||||
*/
|
||||
public static final String R2 = JoystickButton.BUTTON_7;
|
||||
public static final String SELECT = JoystickButton.BUTTON_8;
|
||||
public static final String START = JoystickButton.BUTTON_9;
|
||||
/**
|
||||
* Pressing the left analog stick.
|
||||
*/
|
||||
public static final String L3 = JoystickButton.BUTTON_10;
|
||||
/**
|
||||
* Pressing the right analog stick.
|
||||
*/
|
||||
public static final String R3 = JoystickButton.BUTTON_11;
|
||||
/**
|
||||
* Most gamepads may use {@link JoystickAxis#POV_X} instead.
|
||||
*/
|
||||
public static final String DPAD_LEFT = "12";
|
||||
/**
|
||||
* Most gamepads may use {@link JoystickAxis#POV_X} instead.
|
||||
*/
|
||||
public static final String DPAD_RIGHT = "13";
|
||||
/**
|
||||
* Most gamepads may use {@link JoystickAxis#POV_Y} instead.
|
||||
*/
|
||||
public static final String DPAD_UP = "14";
|
||||
/**
|
||||
* Most gamepads may use {@link JoystickAxis#POV_Y} instead.
|
||||
*/
|
||||
public static final String DPAD_DOWN = "15";
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
Main app = new Main();
|
||||
|
||||
Reference in New Issue
Block a user