From 1447b1745e05884d8e31ee6de2ee48ac58027cc9 Mon Sep 17 00:00:00 2001 From: Ganesh prasad Sahu Date: Fri, 6 Dec 2024 16:33:28 +0000 Subject: [PATCH] Gamepad input delay of 5ms results in more delay in overall latency Gamepad input notification delay of 5ms results in more delay in overall latency playing Cloud game using webrtc. We do not need to wait 5ms to fire the scheduler. Original Author: manoj_bhatta@comcast.com See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1384 --- Source/WebCore/platform/gamepad/wpe/WPEGamepadProvider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/WebCore/platform/gamepad/wpe/WPEGamepadProvider.cpp b/Source/WebCore/platform/gamepad/wpe/WPEGamepadProvider.cpp index 082ce60d1a932..1cb7f186219b7 100644 --- a/Source/WebCore/platform/gamepad/wpe/WPEGamepadProvider.cpp +++ b/Source/WebCore/platform/gamepad/wpe/WPEGamepadProvider.cpp @@ -38,7 +38,7 @@ namespace WebCore { static const Seconds connectionDelayInterval { 500_ms }; -static const Seconds inputNotificationDelay { 5_ms }; +static const Seconds inputNotificationDelay { 0_ms }; WPEGamepadProvider& WPEGamepadProvider::singleton() {