Mouse and Keyboard library for JavaScript
This is a JavaScript library for Mouse and Keyboard queries.
Usage:
Import Input.js
Optionally Disable Context Menu Popup
Query Mouse using Input.Mouse
Query Keyboard using Input.Keyboard
Supported Queries:
Mouse.GetPosition()
Mouse.GetDelta()
Mouse.IsKeyDown()
Mouse.IsKeyUp()
Keyboard.IsKeyDown()
Keyboard.IsKeyUp()
Keyboard.GetKeysDown()