Skip to content

fuse-modules/fuse-gamecontroller

Repository files navigation

fuse-gamecontroller

AppVeyor build status NPM package Slack License: MIT

Game controller package for Fuse Open.

This package makes it easy to take advantage of game controllers connected via Bluetooth or USB, using either JavaScript, TypeScript or Uno APIs, in your Fuse apps for Android or Windows/.NET (desktop preview).

Install

npm install fuse-gamecontroller

This will install the Fuse.GameController library for Fuse SDK.

Usage

import GameController from "FuseJS/GameController"

To use this API in your project, you must add "Fuse.GameController" to "Packages" in your .unoproj file.

Contributing

Please report an issue if you encounter a problem, or open a pull request if you make a patch.

License

MIT.