Comments (4)
Getting a controller to test this and it's still on the way (amazon prime isn't that fast) but I think this should be fixed. Let me know if not, I haven't found much documentation on button mappings.
It's also possible to check the gamepad state programmatically (gamepadControls.getDpad()
, gamepadControls.getButton(0...N)
), or by listening for gamepadbuttondown
events on the element. That's what you'd need to customize what different buttons do.
from aframe-gamepad-controls.
Thanks Don. Is the demo page updated? Can I test there?
from aframe-gamepad-controls.
YAY, works on desktop Firefox nightly. Still crashing Android Firefox nightly.
from aframe-gamepad-controls.
Crash bug, for reference: https://bugzilla.mozilla.org/show_bug.cgi?id=1238541
from aframe-gamepad-controls.
Related Issues (16)
- Standard gamepad buttons should be referenced by constants HOT 1
- Request for THIS feature to simulate an onClick event with gamepad-controls in A-Frame. HOT 2
- Link to demo is broken HOT 1
- Controls from all gamepads HOT 4
- Gamepad works but still shows error: Gamepad #0 not found. Connect controller and press any button to continue. HOT 1
- Clicks through entities HOT 1
- How can I detect whether a gamepad is connected or not using this component? HOT 5
- when HMD of Windows Mixed Reality is connected, cannot do rotation by gamepad's joystick HOT 3
- Deprecate: Suggest movement-controls instead. HOT 1
- Enhacement proposal for enabling proxying of controls over websockets HOT 8
- Button mapping issues with SNES-like controller. HOT 3
- Demo Enhancements HOT 1
- Fail nicely in safari
- Immediately invoked functions break prototype instantiation HOT 1
- invertedEnabled flag HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aframe-gamepad-controls.