Open Bug 1084610 Opened 6 years ago Updated 2 years ago
Gamepad API gamepadconnected event always shows buttons as not pressed, even when they are pressed down when the controller is connected
User Agent: Mozilla/5.0 (Windows NT 6.4; WOW64; Trident/7.0; Touch; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0; InfoPath.3; rv:11.0) like Gecko Steps to reproduce: 1) Unplug all of your controllers. 2) Run the attached test page GamepadEventType.html 3) Press the button on the controller and hold the button down. 4) Plug the controller in. Actual results: A button’s state shows as in rest. Expected results: A buttons state is “pressed” in the connected event handler.
OS: Windows NT → Windows 10
Summary: Gamepad API Controller Plugin Events → Gamepad API gamepadconnected event always shows buttons as not pressed, even when they are pressed down when the controller is connected
Thanks for the bug report! This falls out of the way things are currently implemented.
Depends on: 852258
Now this completely turns off Gamepad API because Firefox **requires** the user to press any button before the gamepad is recognized.
Component: DOM → DOM: Device Interfaces
You need to log in before you can comment on or make changes to this bug.