// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Spec proposal:
// https://w3c.github.io/gamepad/extensions.html#gamepadtouch
[RuntimeEnabled=GamepadMultitouch, Exposed=Window, SecureContext] interface GamepadTouch {
readonly attribute unsigned long touchId;
readonly attribute octet surfaceId;
readonly attribute Float32Array position;
readonly attribute Uint32Array? surfaceDimensions;
};