Skip to content

jackcarey/buzz-controller.js

Repository files navigation

BuzzController.js

Modified from Controller.js 1.0.2 to add support for Buzz quiz controller layout and lights.

A library designed to make the Gamepad API easier to use for non-gaming applications.

Documentation
Try it out now

Features

Quick Start

  1. Download the lastest build.

  2. Unpack the ZIP file and copy the library, layouts add-on, and Buzz controller to your project files.

  3. Include them before your closing <body> tag:

    <script src="path/to/Controller.min.js"></script>
    <script src="path/to/Controller.layouts.min.js"></script>
    <script src="path/to/BuzzController.min.js"><script>
  4. Start listening for gamepads with BuzzController.search().

  5. Read the documentation and build something cool.

Compatibility

The main requirement of Controller.js is the Gamepad API itself. However it's only been tested and guaranteed to work in the following:

  • Chrome 52+
  • Firefox 48+
  • Edge 14+

For up-to-date information on the status of the Gamepad API in browsers, check Can I use.


The MIT License (MIT)

About

A modification of Controller.js that adds support for Buzz! controllers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published