blob: 14c26c70bd7dd026f297da7b03ebc874982a1a59 [file] [log] [blame]
// 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;
};