UNPKG

@rbuljan/gamepad

Version:

Multi-touch gamepad with buttons and joystick for JavaScript games, apps, IOT

11 lines (10 loc) 275 B
import { Controller } from "./controller"; import { ControllerOptions } from "./ControllerOptions"; /** * Gamepad - Button Controller */ export declare class Button extends Controller { constructor(options: ControllerOptions); onStart(): void; onEnd(): void; }