Cleanup code

This commit is contained in:
Iwan Timmer
2014-01-11 23:53:08 +01:00
parent 8a5fe4f61f
commit 38540d715c
8 changed files with 16 additions and 136 deletions

View File

@@ -1,25 +0,0 @@
package com.limelight.input;
public class Device {
private int id;
private int numButtons;
private int numAxes;
public Device(int deviceID, int numButtons, int numAxes) {
this.id = deviceID;
this.numButtons = numButtons;
this.numAxes = numAxes;
}
public int getId() {
return id;
}
public int getNumButtons() {
return numButtons;
}
public int getNumAxes() {
return numAxes;
}
}

View File

@@ -1,6 +0,0 @@
package com.limelight.input;
public interface DeviceListener {
public void handleButton(Device device, int buttonId, boolean pressed);
public void handleAxis(Device device, int axisId, float newValue, float lastValue);
}