Abstract
There is a great focus on making HTML5 games for mobile devices, which is good, of course, but core pro gamers are usually visualized as having a gamepad in their hands. So why not use it and deliver the full experience of a game using the Full Screen, Mouse Lock, and Gamepad APIs? The last API provides the ability to use a console's controller to play HTML5 games—how cool is that? With the W3C specification presently being written, we will have an API that is easy to implement, does not require any plug-ins to run in your browser, and is as simple as just plugging in your device and playing the game right away.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Colt McAnlis
About this chapter
Cite this chapter
McAnlis, C. et al. (2014). Playing Around with the Gamepad API. In: HTML5 Game Development Insights. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6698-3_10
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6698-3_10
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6697-6
Online ISBN: 978-1-4302-6698-3
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books