Skip to content
Gamepads interactions for Leaflet
JavaScript
Failed to load latest commit information.
LICENSE Initial commit Jul 9, 2014
Leaflet.GameController.js
README.md Update README.md Jul 10, 2014
bower.json Version 0.0.1 Jul 9, 2014
example.html

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.

Something went wrong with that request. Please try again.