HTML5 Game Development
   
  • HOME
  • News
  • Tutorials
  • Engines
  • Demos
  • Tools
  • Partners
  • Mobile HTML Game
  • Guess The Celebrity
  • About us

gamepad.js library for gamepad and joystick support in browser

gamepad.js is a Javascript library to enable using gamepads and joysticks in the browser.

It smoothes over the differences between browsers, platforms, APIs, and the wide variety of gamepad/joystick devices.

It offers two major features:

  • A consistent mapping everywhere, so that you can simply access attributes like .leftStickX or .dpadDown rather than having to try to configure the device in your game/program.
  • Images of the buttons/triggers/devices that correspond to the actual device the user has in their hand, so that you can offer intelligent prompts and help text. So, rather than “Press Button 0”, you can show a picture of the correct button. For example:

Visit the site / Checkout the repo

[Via http://www.html5gamedevs.com/2012/02/01/fullscreen-api-web-browsers/ ]

Share List

You might also find this interesting:


  1. Chrome will receive Gamepad, Microphone and Webcam support Google developer Advocate Paul Kinlan announced at the Develop conference in Liverpool that Chrome is going to get a number of Game-friendly features in Q1-Q2 2012 – specifically Gamepad support...

  2. An Introduction to the HTML5 Gamepad API ActiveTuts+ has a nice introduction to the new GamePad API that has made it’s way into the Firefox nightly build (Chrome support is coming as well.) This will allow you...

  3. Chomebox – the game console of the future? Google has released the Chromebox, as $329 “Web Browser in a box” small form-factor computer built by Samsung that boasts an Intel Core Processor and 4GB of ram. If it...

  4. Chromebox – the game console of the future? Google has released the Chromebox, as $329 “Web Browser in a box” small form-factor computer built by Samsung that boasts an Intel Core Processor and 4GB of ram. If it...

  5. Chrome now most popular browser in the world The king is dead, long live the king. According to statcounter.com, last week Chrome passed IE as the most popular browser in the world. And there was much rejoicing in...

HTML5 Tools

License HTML5 Games

Are you a company looking to license HTML5 games? We recommend MarketJS.com, a B2B platform for licensing games.

MarketJS has over 300 HTML5 games for licensing. They also provide additional services such as game reskin, custom development, and white label portals.

Html5 Game Development


Follow @GameDevHTML5



WHAT’S NEW

  • What’s New in Phaser 3.50

  • Particle and Sprite Editors in Babylon.js 4.2

  • Healthcare Industry HTML5 Games

  • Games for Events Example

  • HTML5 Games for Luxury Brands



NEW DEMOS

  • Vertical Endless Runner Prototype

  • Particle and Sprite Editors in Babylon.js 4.2

  • Song Maker in Google Experiment

  • Phaser 3 Experiment for Drawing Cards

  • HTML5 Game for a Recycling Campaign


ENGINES

  • Building Simulated 3D HTML5 Games With Phaser

    Phaser is commonly used as a 2D game engine for creating HTML5 desktop and mobile games. However, with the help of three.js and Phaser 3D library, you could render your …Read more

  • Egretia Blockchain HTML5 Game Engine

    Egretia is an up and coming HTML5 game development platform that is powered by blockchain. The blockchain technology is like a digital ledger wherein finances or transactions involving value are …Read more

  • Phaser 3.4 Release

    Phaser 3.4 has just been launched, bringing new and better features for HTML5 game development. This updated version now has support for Game Object Containers. Although it’s still in beta …Read more

SEARCH OUR ARCHIVES

CONNECT

rss twitter

HTML5 Game Development is proudly run by 3P Solutions Inc

GOT NEWS?

Send new engines, demos, information and tips to hello@html5gamedevelopment.com

MONTHLY MEETUP

In boston? Join us for the Monthly HTML5 Game Development meetup.

BOOKS

We're in the process of writing a few books about game development. Coming soon!

Copyright HTML5gamedevelopment.com