Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 484 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 484 Bytes

Input.js

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()