Giter Club home page Giter Club logo

controller.js's Introduction

Controller.js

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

Controller.js documentation
Try it out now

Features

Quick Start

  1. Download the lastest build.

  2. Unpack the ZIP file and copy the library and (optionally) the layouts add-on to your project files.

  3. Include the library and layouts add-on just before your closing <body> tag:

    <script src="path/to/Controller.min.js"></script>
    <script src="path/to/Controller.layouts.min.js"></script> <!-- optional -->
  4. Start listening for gamepads with Controller.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)

Copyright © 2016 Samir Zahran

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.