w3c / pointerlock

Pointer Lock
https://w3c.github.io/pointerlock/
Other
17 stars 16 forks source link

Propose to add a static field to indicate whether `unadjustedMovement` is supported. #90

Open alvinjiooo opened 6 months ago

alvinjiooo commented 6 months ago

In PR #49, PointerLockOptions is introduced. However, unadjustedMovement of PointerLockOptions might not be supported on all platforms. A static field could be useful to determine whether it is supported before directly using it in PointerLockOptions and get a not supported error.