Re: [w3c/gamepad] Fold touchEvents from extensions.html into index.html (PR #198)

If I remember correctly, we decided on maplike interfaces for the `surfaceId` -> `GamepadSurface` and `touchId` -> `sequence<GamepadTouch>` maps. I think it should look something like this:

```
        dictionary GamepadTouch {
          Float32Array position;
        };

        interface GamepadTouchMap {
          readonly maplike<unsigned long, sequence<GamepadTouch>>;
        };

        dictionary GamepadSurface {
          GamepadTouchMap touches;
          Uint32Array surfaceDimensions;
        };

        interface GamepadSurfaceMap {
          readonly maplike<octet, GamepadSurface>;
        };

        interface Gamepad {
...
          readonly attribute GamepadSurfaceMap surfaces;
...
        };
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/198#issuecomment-2223761557
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/198/c2223761557@github.com>

Received on Thursday, 11 July 2024 19:46:56 UTC