Skip to content

[Feature request] Add Emscripten support for Sensor API #13359

@foxtacles

Description

@foxtacles

Emscripten exposes the devicemotion event as a callback, so I think it should be possible to add Emscripten as a supported backend for SDL's Sensor API.

It does come with the caveat of requiring explicit user permission beforehand but that's the case for other APIs as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions