Plumb sendMousePosition() through to moonlight-common-c

This commit is contained in:
Cameron Gutman committed 2020-04-17 22:37:09 -07:00
1 parent 29bc3e022b
commit 6f79c52fc5
3 files changed
+15

No files matched your search

@@ -287,6 +287,13 @@ public class NvConnection {
MoonBridge.sendMouseMove(deltaX, deltaY);
}
}
public void sendMousePosition(short x, short y, short referenceWidth, short referenceHeight)
{
if (!isMonkey) {
MoonBridge.sendMousePosition(x, y, referenceWidth, referenceHeight);
}
}
public void sendMouseButtonDown(final byte mouseButton)
{
@@ -239,6 +239,8 @@ public class MoonBridge {
public static native void sendMouseMove(short deltaX, short deltaY);
public static native void sendMousePosition(short x, short y, short referenceWidth, short referenceHeight);
public static native void sendMouseButton(byte buttonEvent, byte mouseButton);
public static native void sendMultiControllerInput(short controllerNumber,