Poll every 10 ms for gamepad input instead of constantly

This commit is contained in:
Cameron Gutman 2016-02-13 09:28:13 -05:00
parent 75debd77f9
commit e72be415c3

View File

@ -54,6 +54,9 @@ void* MoonlightInstance::ConnectionThreadFunc(void* context) {
for (;;) { for (;;) {
me->PollGamepads(); me->PollGamepads();
// Poll every 10 ms
usleep(10 * 1000);
} }
return NULL; return NULL;