mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-26 14:00:08 +00:00
Add NativeGamepadListener
This commit is contained in:
1 parent
21c84415db
commit
e2d5837f84
1 file changed
+13
@@ -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