[Webkit-unassigned] [Bug 235052] New: Gamepad joystick axis not being recognized as a gesture

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 10 16:39:49 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235052

            Bug ID: 235052
           Summary: Gamepad joystick axis not being recognized as a
                    gesture
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shawn at playbackbone.com

Chromium browsers fire a gamepadconnected event when a button is pressed or an axis is used, Safari seems to only do so when a button is pressed.
See: https://developer.mozilla.org/en-US/docs/Web/API/Window/gamepadconnected_event

Repro steps:
1) Connect a supported game controller
2) Force kill the Xbox Cloud Gaming PWA and launch it to simulate a fresh start.
3) Move the left joystick. Nothing will happen in the UI. This is what users are attempting to do in the Xbox Cloud Gaming home screen, and this leads them to believe that the service isn't working with their controller since the UI isn't being perturbed.
4) Move the d-pad or perform any digital input (LB/RB, ABXY, etc.). You should now see the UI respond. There seems to be a bug where the Xbox Cloud Gaming home screen doesn't pick up joystick inputs on a fresh start. To users, this feels like the UI isn't responding to controller input.

The important thing is having the game controller connected when starting the PWA. In this case, there is no connect event that occurs as part of the plug-in and instead the connection is based on the user input.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220111/4dd3c8ae/attachment-0001.htm>


More information about the webkit-unassigned mailing list