This is an interaction handler for Leaflet, prodiving support for gamepads.
map.GamepadController.enable();
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.