Skip to content

Commit 8012ba2

Browse files
committed
make gamepad visible/connected when gamepad axis is moved
1 parent 8848619 commit 8012ba2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/WebCore/platform/gamepad/wpe/WPEGamepad.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void WPEGamepad::absoluteAxisChanged(unsigned axis, double value)
8181
m_lastUpdateTime = MonotonicTime::now();
8282
m_axisValues[axis].setValue(value);
8383

84-
WPEGamepadProvider::singleton().scheduleInputNotification(*this, WPEGamepadProvider::ShouldMakeGamepadsVisible::No);
84+
WPEGamepadProvider::singleton().scheduleInputNotification(*this, WPEGamepadProvider::ShouldMakeGamepadsVisible::Yes);
8585
}
8686

8787
} // namespace WebCore

0 commit comments

Comments
 (0)