mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-18 14:30:17 +00:00
Cleanup code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user