itay-joystick
v0.1.15
Published
A virtual joystick written in typescript.
Downloads
1
Readme
itay-joystick
A virtual joystick written in typescript.
Mostly based on: https://github.com/jeromeetienne/virtualjoystick.js
Install
npm install --save itay-joystick
Basic Usage
import {Joystick} from 'itay-joystick';
export MyClass {
constructor(){
let joystick1 = new Joystick({
container: document.getElementById("joystick-stationary-base-container"),
isMouseSupporting: true,
isStationaryBase: true,
});
}
}