mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 06:11:03 +00:00
Replace version check with note for LiSendMousePosition()
This commit is contained in:
@@ -466,11 +466,6 @@ int LiSendMousePositionEvent(short x, short y, short referenceWidth, short refer
|
|||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Figure out the exact version where this was added
|
|
||||||
if (AppVersionQuad[0] < 7) {
|
|
||||||
return -3;
|
|
||||||
}
|
|
||||||
|
|
||||||
holder = malloc(sizeof(*holder));
|
holder = malloc(sizeof(*holder));
|
||||||
if (holder == NULL) {
|
if (holder == NULL) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
@@ -435,6 +435,8 @@ const char* LiGetStageName(int stage);
|
|||||||
int LiSendMouseMoveEvent(short deltaX, short deltaY);
|
int LiSendMouseMoveEvent(short deltaX, short deltaY);
|
||||||
|
|
||||||
// This function queues a mouse position update event to be sent to the remote server.
|
// This function queues a mouse position update event to be sent to the remote server.
|
||||||
|
// This functionality is only reliably supported on GFE 3.20 or later. Earlier versions
|
||||||
|
// may not position the mouse correctly.
|
||||||
//
|
//
|
||||||
// Absolute mouse motion doesn't work in many games, so this mode should not be the default
|
// Absolute mouse motion doesn't work in many games, so this mode should not be the default
|
||||||
// for mice when streaming. It may be desirable as the default touchscreen behavior if the
|
// for mice when streaming. It may be desirable as the default touchscreen behavior if the
|
||||||
|
|||||||
Reference in New Issue
Block a user