Merge pull request #402 from mozilla/cleanup-input-handling
Refactor input handling to simplify cursor and camera logic.
Showing
- src/components/cursor-controller.js 107 additions, 300 deletionssrc/components/cursor-controller.js
- src/components/input-configurator.js 171 additions, 0 deletionssrc/components/input-configurator.js
- src/components/look-on-mobile.js 15 additions, 22 deletionssrc/components/look-on-mobile.js
- src/components/pitch-yaw-rotator.js 30 additions, 0 deletionssrc/components/pitch-yaw-rotator.js
- src/components/super-spawner.js 1 addition, 1 deletionsrc/components/super-spawner.js
- src/hub.html 24 additions, 13 deletionssrc/hub.html
- src/hub.js 3 additions, 22 deletionssrc/hub.js
- src/input-mappings.js 2 additions, 2 deletionssrc/input-mappings.js
- src/utils/action-event-handler.js 161 additions, 0 deletionssrc/utils/action-event-handler.js
- src/utils/gearvr-mouse-events-handler.js 52 additions, 0 deletionssrc/utils/gearvr-mouse-events-handler.js
- src/utils/mouse-events-handler.js 69 additions, 68 deletionssrc/utils/mouse-events-handler.js
- src/utils/touch-events-handler.js 32 additions, 48 deletionssrc/utils/touch-events-handler.js
Loading
Please register or sign in to comment