itay-joystick
TypeScript icon, indicating that this package has built-in type declarations

0.1.15 • Public • Published

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,
            });
    }
}

Dependencies (0)

    Dev Dependencies (23)

    Package Sidebar

    Install

    npm i itay-joystick

    Weekly Downloads

    1

    Version

    0.1.15

    License

    none

    Last publish

    Collaborators

    • itayronen