diff --git a/src/com/limelight/input/gamepad/NativeGamepadListener.java b/src/com/limelight/input/gamepad/NativeGamepadListener.java new file mode 100644 index 0000000..95bbd54 --- /dev/null +++ b/src/com/limelight/input/gamepad/NativeGamepadListener.java @@ -0,0 +1,13 @@ +package com.limelight.input.gamepad; + +public interface NativeGamepadListener { + public void deviceAttached(int deviceId, int numButtons, int numAxes); + + public void deviceRemoved(int deviceId); + + public void buttonDown(int deviceId, int buttonId); + + public void buttonUp(int deviceId, int buttonId); + + public void axisMoved(int deviceId, int axisId, float value, float lastValue); +}