From 7f9c71805e8dd4d06fe8fe80a17bd8c5adee3c12 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 17 Nov 2018 13:18:35 -0800 Subject: [PATCH] Increase mouse polling rate to 5 ms to match PC --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 522cf68..1bd6f5d 100644 --- a/main.cpp +++ b/main.cpp @@ -99,8 +99,8 @@ void* MoonlightInstance::InputThreadFunc(void* context) { me->PollGamepads(); me->ReportMouseMovement(); - // Poll every 10 ms - usleep(10 * 1000); + // Poll every 5 ms + usleep(5 * 1000); } return NULL;