Skip to content

Gamepad API polyfill for Cordova/PhoneGap on Android gamepads

License

Notifications You must be signed in to change notification settings

EionRobb/GamepadButtons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gamepad buttons plugin for Cordova/PhoneGap

By Vlad Stirbu.

This plugin allows you to use Android gamepads in Cordova/PhoneGap applications.

Adding the plugin to your project

Using Cordova command line interface:

cordova plugins add https://github.com/vstirbu/GamepadButtons

Using the plugin

The javascript API follows the W3C Gamepad API, extended with elements from Mozilla Gamepad API.

Implementation status

Methods

Events

TODO

Currently, the plugin supports only the device's incorporated gamepad. External gamepads not supported.

The following events have not been implemented:

Device experience

The plugin was tested on the following devices:

License

The plugin is available under MIT license.

About

Gamepad API polyfill for Cordova/PhoneGap on Android gamepads

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 44.3%
  • Objective-C 36.7%
  • JavaScript 19.0%