Skip to content

Commit a6c8e12

Browse files
authored
Merge pull request #1267 from mbhatt627/gamepad-axis
make gamepad visible/connected when gamepad axis is moved
2 parents 93d5062 + 8012ba2 commit a6c8e12

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)