Chrome Version: 66.0.3359.139 (Official Build) (64-bit)
OS: Linux
What steps will reproduce the problem?
(1) Connect a gamepad and load html5gamepad.com. This page calls navigator.getGamepad() periodically and registers gamepadconnected and gamepaddisconnected listeners.
(2) While on the page, open the developer console and get the current gamepad state.
> var pad = navigator.getGamepads()[0];
(3) Move the joystick while printing pads.axes to the developer console.
What is the expected result?
The axis values should remain the same as when |pad| was first assigned.
What happens instead?
The contents of |pad.axes| changes as the analog stick is moved.
Comment 1 by mattreynolds@chromium.org
, May 7 2018