Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spite/three.gamepadcontrols
Camera controls for three.js using the Gamepad API
https://github.com/spite/three.gamepadcontrols
Last synced: 21 days 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-07T21:34:31.000Z (about 9 years ago)
- Last Synced: 2024-10-04T13:17:05.068Z (about 1 month ago)
- Language: JavaScript
- Size: 202 KB
- Stars: 21
- Watchers: 4
- 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 APIYou'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.
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/NxHxG8_UT8o/0.jpg)](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