https://github.com/fuse-modules/fuse-gamecontroller
GameController package for Fuse Open.
https://github.com/fuse-modules/fuse-gamecontroller
android dotnet fuse game-controller javascript typescript uno
Last synced: about 1 month ago
JSON representation
GameController package for Fuse Open.
- Host: GitHub
- URL: https://github.com/fuse-modules/fuse-gamecontroller
- Owner: fuse-modules
- License: mit
- Created: 2019-09-24T04:58:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T07:06:01.000Z (over 6 years ago)
- Last Synced: 2025-02-09T15:02:58.862Z (over 1 year ago)
- Topics: android, dotnet, fuse, game-controller, javascript, typescript, uno
- Language: Uno
- Homepage:
- Size: 1.01 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fuse-gamecontroller
[](https://ci.appveyor.com/project/mortend/fuse-gamecontroller/branch/master)
[](https://www.npmjs.com/package/fuse-gamecontroller)
[](https://slackcommunity.fusetools.com/)
[](LICENSE)
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).
[Fuse Open]: https://fuseopen.com/
## Install
```shell
npm install fuse-gamecontroller
```
This will install the `Fuse.GameController` library for [Fuse SDK](https://www.npmjs.com/package/fuse-sdk).
## Usage
```typescript
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](https://github.com/mortend/fuse-gamecontroller/issues) if you encounter a problem, or [open a pull request](https://github.com/mortend/fuse-gamecontroller/pulls) if you make a patch.
## License
MIT.