# 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
```ts
import {Joystick} from 'itay-joystick';
export MyClass {
    constructor(){
        let joystick1 = new Joystick({
                container: document.getElementById("joystick-stationary-base-container"),
                isMouseSupporting: true,
                isStationaryBase: true,
            });
    }
}
```