mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-03 14:36:09 +00:00
Add NativeGamepadListener
This commit is contained in:
13
src/com/limelight/input/gamepad/NativeGamepadListener.java
Normal file
13
src/com/limelight/input/gamepad/NativeGamepadListener.java
Normal file
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user