Re: [w3c/gamepad] Require secure context for gamepad state and events (#120)

> Instead of forcing a secure context, can the engine just go ahead and prompt for user permission?
> 

I disagree, requiring user permission is a nuisance to the user.

What would make more sense is a general interface for receiving controller input that doesn't expose device-specific details (similar to how keyboard input is exposed exclusively through `KeyboardEvent`s)

If this is implemented, individual controller/gamepad details could still be accessible behind a permission, similar to `getScreenDetails()`

This seems like the most consistent and privacy-preserving approach, not sure how the rationale behind this PR came to be.

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

Message ID: <w3c/gamepad/pull/120/c2101353498@github.com>

Received on Wednesday, 8 May 2024 20:17:00 UTC