/pointerlock.d.ts

TypeScript definition for the Pointer Lock API

MIT LicenseMIT

pointerlock.d.ts

pointerlock.d.ts is a Typescript definition file for the HTML Pointer Lock API. I (think) I've fully covered the spec - it's not a large API.

Throwing it out there in case it's useful for anyone else - Google doesn't suggest this is currently available elsewere.

Usage

Add a reference to pointerlock.d.ts:

/// <reference path='pointerlock.d.ts' />

License

Released under the MIT license.