[webkit-changes] [WebKit/WebKit] 8b1081: Adopt GameController.framework's setThumbstickUser...
Brady Eidson
noreply at github.com
Tue Nov 22 17:25:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8b1081372e8c729a1c849724c1a09138cba9c771
https://github.com/WebKit/WebKit/commit/8b1081372e8c729a1c849724c1a09138cba9c771
Author: Brady Eidson <beidson at apple.com>
Date: 2022-11-22 (Tue, 22 Nov 2022)
Changed paths:
M Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm
M Source/WebCore/platform/gamepad/cocoa/GameControllerSPI.h
Log Message:
-----------
Adopt GameController.framework's setThumbstickUserIntentHandler SPI
https://bugs.webkit.org/show_bug.cgi?id=248247
rdar://87368239
Reviewed by Tim Hatcher.
It would be great if users could "wiggle the joystick" to expose a gamepad to a web page,
instead of having to press a button.
Let's adopt new SPI to enable that.
* Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm:
(WebCore::GameControllerGamepad::setupElements):
* Source/WebCore/platform/gamepad/cocoa/GameControllerSPI.h:
Canonical link: https://commits.webkit.org/256959@main
More information about the webkit-changes
mailing list