HTML5 Game Development
   
  • HOME
  • News
  • Tutorials
  • Engines
  • Demos
  • Tools
  • Partners
  • Mobile HTML Game
  • Wind And Solar
  • 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

  • Unity’s Pricing Scheme Changes

  • Unity Game Engine Pricing Fee

  • Open-source 3D Game Engine with Sketchfab Integration

  • MODD.IO Updates – Improved No Coding Required Game Engine

  • GPT3 Voting Board



NEW DEMOS

  • Creating a Mobile HTML5 RPG – Guidelines for Beginners

  • How to Use HTML5 Games To Engage Social Media Followers

  • Running HTML5 Games for Online Competitions

  • Vertical Platformer Games Using GDevelop

  • HTML5 Games for HR Technology


ENGINES

  • Unity’s Pricing Scheme Changes

    In an open letter to the Unity community, the company announced the details of Unity’s pricing scheme changes. In the letter, the Personal plan will remain free and there will …Read more

  • Unity Game Engine Pricing Fee

    Early in September 2023, Unity Technologies announced the Unity game engine pricing fee. Starting on 1 January 2024, the company will charge game developers a fee (2 tiers) for each …Read more

  • Open-source 3D Game Engine with Sketchfab Integration

    PlayCanvas, an open-source 3D game engine, has added Sketchfab integration into its latest updates. This improvement gives game developers access to Sketchfab’s high-quality 3D, AR, and VR content. To access …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