[w3c/gamepad] Valid values for GamepadEffectParameters.strongMagnitude / weakMagnitude (Issue #176)

The specification should likely indicate what the valid values for GamepadEffectParameters.strongMagnitude / weakMagnitude are. As far as I can tell, this needs to be a value in the [0; 1] range.

Also, should we throw for values out of range? The specification currently doesn't validate any of the input parameters I think. However, I believe that the Blink implementation validates them and throws.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/176
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/issues/176@github.com>

Received on Tuesday, 10 January 2023 20:35:35 UTC