https://github.com/spite/three.gamepadcontrols
Camera controls for three.js using the Gamepad API
https://github.com/spite/three.gamepadcontrols
Last synced: about 1 year ago
JSON representation
Camera controls for three.js using the Gamepad API
- Host: GitHub
- URL: https://github.com/spite/three.gamepadcontrols
- Owner: spite
- License: mit
- Created: 2015-08-27T22:05:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-07T21:34:31.000Z (almost 11 years ago)
- Last Synced: 2025-03-30T23:04:59.336Z (about 1 year ago)
- Language: JavaScript
- Size: 202 KB
- Stars: 21
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# THREE.GamepadControls
Camera controls for three.js using the Gamepad API
You'll need a browser that can run WebGL and the Gamepad API.
The left pad controls the camera look around, the right pad controls the movement in the XZ plane. The bottom shoulder buttons control vertical movement in the Y axis.
[](http://www.youtube.com/watch?v=NxHxG8_UT8o)
Not sure if the Gamepad API is working? Check [Jumping the Hurdles with the Gamepad API](http://www.html5rocks.com/en/tutorials/doodles/gamepad/) at HTML5Rocks and try the [Tester](http://www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html)
For some reason, it's only working on Chrome. Firefox and Opera have support, but the Gamepads are not being listed. Safari doesn't have support. I haven't tried Edge yet.
#### License ####
MIT licensed
Copyright (C) 2015 Jaume Sanchez Elias, http://www.clicktorelease.com