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

  • GPT3 Voting Board

  • Game Localization For Food Delivery App

  • HTML5 Games in Guest Room Tablets

  • What’s New in Phaser 3.50

  • Particle and Sprite Editors in Babylon.js 4.2



NEW DEMOS

  • Vertical Platformer Games Using GDevelop

  • HTML5 Games for HR Technology

  • Building Vertical Platformer Games using Kaboom

  • Vertical Endless Runner Prototype

  • Particle and Sprite Editors in Babylon.js 4.2


ENGINES

  • Vertical Platformer Games Using GDevelop

    Last time, we introduced GDevelop as a viable option for no-code game engines. Now, let’s try building vertical platformer games using GDevelop. GDevelop comes with two behaviors to build platformer …Read more

  • Best Practices in Building HTML5 Games

    As the saying goes, “Quality is always the result of intelligent effort.” This timeless quote by John Ruskin summarizes most of the best practices in building HTML5 games by today’s …Read more

  • GDevelop – Free and Easy HTML5 Game Engine

    If you are looking for a free and easy HTML5 game engine, check out GDevelop. This game creator is designed to be used by everyone, with its no-code, open-source, free, …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