From c8faf3539b0c33b9e5eb8f5cf99c04d307c0e608 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 3 May 2020 15:56:39 -0700 Subject: [PATCH] Replace version check with note for LiSendMousePosition() --- src/InputStream.c | 5 ----- src/Limelight.h | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/InputStream.c b/src/InputStream.c index 85e781a..c7ae876 100644 --- a/src/InputStream.c +++ b/src/InputStream.c @@ -466,11 +466,6 @@ int LiSendMousePositionEvent(short x, short y, short referenceWidth, short refer return -2; } - // TODO: Figure out the exact version where this was added - if (AppVersionQuad[0] < 7) { - return -3; - } - holder = malloc(sizeof(*holder)); if (holder == NULL) { return -1; diff --git a/src/Limelight.h b/src/Limelight.h index a76df91..189bf65 100644 --- a/src/Limelight.h +++ b/src/Limelight.h @@ -435,6 +435,8 @@ const char* LiGetStageName(int stage); int LiSendMouseMoveEvent(short deltaX, short deltaY); // 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 // for mice when streaming. It may be desirable as the default touchscreen behavior if the