[Webkit-unassigned] [Bug 219930] GamepadButton.prototype is missing 'touched' attribute
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 16 10:04:59 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=219930
Brady Eidson <beidson at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |beidson at apple.com
--- Comment #3 from Brady Eidson <beidson at apple.com> ---
Comment on attachment 416344
--> https://bugs.webkit.org/attachment.cgi?id=416344
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=416344&action=review
> Source/WebCore/Modules/gamepad/GamepadButton.cpp:52
> + /*
> + https://www.w3.org/TR/gamepad/#dom-gamepadbutton-touched
> + If the button is capable of detecting touch, this property MUST be true if the button is currently being touched, and false otherwise. If the button is not capable of detecting touch and is capable of reporting an analog value, this property MUST be true if the value property is greater than 0, and false if the value is 0. If the button is not capable of detecting touch and can only report a digital value, this property MUST mirror the pressed attribute.
> + */
> + return pressed();
Is there something we can do better here in GCF-land? Does it support touch sensitivity yet? (That was the original motivation here, to allow distinguishing touched and pressed)
--
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/20201216/9226d289/attachment.htm>
More information about the webkit-unassigned
mailing list