Skip to content

Add trackpad button support #191

@marcoscaceres

Description

@marcoscaceres

The current W3C Gamepad specification does not include mappings for the trackpad button on Sony DualShock and DualSense controllers. This omission leads to inconsistencies across browsers, as observed in WebKit (Safari) and Chromium (Chrome).

Suggested Update:

  1. Standardize Trackpad Button Mapping: Introduce a standard mapping for the trackpad button, possibly as button 17, to align with Chromium's existing implementation.
  2. Uniform Button Array Size: Ensure a 17-element button array for all gamepad controllers to maintain consistency and aid in fingerprinting mitigation.

Additional Information:

This inconsistency was noted in WebKit bug report 266293, with a test conducted on gamepad-tester.com showing different behaviors in Safari Technology Preview and Chrome.

Impact:

Addressing this will enhance cross-browser compatibility and user experience for gamepad users, especially those using Sony's controllers.

References:

Metadata

Metadata

Assignees

Labels

TPAC2024Topic for discussion at TPAC 2024

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions