Open Bug 1084610 Opened 10 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

Categories

(Core :: DOM: Device Interfaces, defect, P5)

32 Branch
x86_64
Windows 10
defect

Tracking

()

UNCONFIRMED

People

(Reporter: teddin, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Attached file GamepadEventType.html
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.
Component: Untriaged → DOM
Product: Firefox → Core
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.
Priority: -- → P5
Component: DOM → DOM: Device Interfaces
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: