Gamepads interactions for Leaflet
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
LICENSE Initial commit Jul 9, 2014
Leaflet.GameController.js Fixe events after a zoom change Jul 10, 2014
README.md Update README.md Jul 10, 2014
bower.json Version 0.0.1 Jul 9, 2014
example.html Example Jul 10, 2014

README.md

Leaflet.GameController

This is an interaction handler for Leaflet, prodiving support for gamepads.

Example

Usage

map.GamepadController.enable();

Unstable version

This is unstable. It requires a recent web browser with a working HTML5 Gamepad API (draft).

This version is only tested on Chrome canary with a 3D mouse (SpaceNavigator). It should be working with other browsers or game controllers after some calibration and axis selection.