diff --git a/Source/WebCore/platform/gamepad/libwpe/GamepadLibWPE.cpp b/Source/WebCore/platform/gamepad/libwpe/GamepadLibWPE.cpp index b4c2d808f377..d9f5175204eb 100644 --- a/Source/WebCore/platform/gamepad/libwpe/GamepadLibWPE.cpp +++ b/Source/WebCore/platform/gamepad/libwpe/GamepadLibWPE.cpp @@ -81,7 +81,7 @@ void GamepadLibWPE::absoluteAxisChanged(unsigned axis, double value) m_lastUpdateTime = MonotonicTime::now(); m_axisValues[axis].setValue(value); - GamepadProviderLibWPE::singleton().scheduleInputNotification(*this, GamepadProviderLibWPE::ShouldMakeGamepadsVisible::No); + GamepadProviderLibWPE::singleton().scheduleInputNotification(*this, GamepadProviderLibWPE::ShouldMakeGamepadsVisible::Yes); } } // namespace WebCore diff --git a/Source/WebCore/platform/gamepad/manette/ManetteGamepad.cpp b/Source/WebCore/platform/gamepad/manette/ManetteGamepad.cpp index 828675d00a32..58d707a5ef9c 100644 --- a/Source/WebCore/platform/gamepad/manette/ManetteGamepad.cpp +++ b/Source/WebCore/platform/gamepad/manette/ManetteGamepad.cpp @@ -171,7 +171,7 @@ void ManetteGamepad::absoluteAxisChanged(ManetteDevice*, StandardGamepadAxis axi m_lastUpdateTime = MonotonicTime::now(); m_axisValues[static_cast(axis)].setValue(value); - ManetteGamepadProvider::singleton().gamepadHadInput(*this, ManetteGamepadProvider::ShouldMakeGamepadsVisible::No); + ManetteGamepadProvider::singleton().gamepadHadInput(*this, ManetteGamepadProvider::ShouldMakeGamepadsVisible::Yes); } } // namespace WebCore