I'm currently using A-Frame to build WebXR (WebVR) applications, and it's not always that I'm able to have the controllers (Oculus Touch, Vive Controls) with me to test them out. Is there a way to "simulate" the events that the different controllers emit?
Is there a way to simulate VR input devices on WebVR - A-Frame?
465 Views Asked by Jose A At
1
There are 1 best solutions below
Related Questions in AFRAME
- Using WebGPURenderer in A-Frame
- a-frame 1.5.0 envMap with no-lights
- AR motion design exhibition in the real space of the city
- how to add 2d video instead of 3d model in mind-ar by using its scripts?
- I get undefined when I am using js to create a-entity with aframe component
- New to A-frame & HTML Coding - my model won't load, what am I doing wrong?
- how to decompress khr_draco_mesh_compression in a-frame (ar.js)?
- Why are mouseenter and mouseleave startEvents not triggering correctly?
- How do I make the position of a box a variable in Aframe or set the position x, y-10, z?
- How to use threejs version 0.83.0 with aframe version 1.3.0?
- Trouble in using gltf-model in aframe-react
- AFrame and ar.js - custom markers not working
- how to add zoom-in and zoom-out feature in aframe react js
- How can I solve Error in loading marker on worker 404
- 3D Text different positioning across different devices - 8th Wall and A-Frame
Related Questions in WEBVR
- Three.js, WebXR VR realtime change after enter VR
- A-Frame Camera Collision Issue with Objects
- Fade Animation Issue in A-Frame VR Tour
- WebXR/VR Canvas how to interact?
- 3d module pose animates to another
- How do I make the A-Frame player/camera collide with objects (make it not go through it)
- Aframe When I change from a scene to another, oculus controller not work
- AFRAME - Finding issues adding links, event listener to any object
- How to move an object in the aframe scene by pinching?
- Video playback (HTML5 VideoElement) Apple Vision Pro Simulator in VR mode not playing
- AFrame - How can I configure zoom and pan controls through mouse instead of WASD controls, or else if possible both together in one project
- Optimization for scene with custom shader
- How to receive controller touch_pad information in three.js webXR
- How I can throw a ray between camera (my eyes) and the mouse cursor on a VR Simulation?
- Android WebView fullscreen on VR headset?
Related Questions in OCULUS
- How to script a simple collision using hands in OVRCameraRigInteraction?
- issue with random input latency on quest 3
- Integration Object Tracking Feature with OVR Integration Package in Unity
- can't to save oculus spatial anchors (on cloud or locally)
- AR Plane Detection using Oculus Integration Unity SDK
- UI Overlapping Issue in Unity Mixed Reality
- How do I get Oculus to access an External Drive through Unity?
- Ceating a VR Portal in quest passthrough not working in build for specific unity version (2022.3.9)
- Meta Quest Get controller battery level using ADB
- How to get data from quest3 color camera, or get data from passthrough, but in video streaming form?
- Unity C# Climbing issue
- Create following UI and Head-Lock UI in VR
- Bypass Oculus Link GPU requirements in Unity/other apps
- VLC Unity doesn't play video on Oculus Quest 2
- How to rotate Oculus left in UnrealEngine separately
Related Questions in HTC-VIVE
- HTC Vive Pro camera image deformation
- pixels per degree and cycles per degree on virtual reality
- Integrating Vuforia with Unity for Real Object Tracking in VR
- Shutdown android device without system app / root access
- Cant enter VR Mode from Browser | Vive Pro, threejs
- How do I access the Vector2 value of the touchpad from a Vive remote using Steam VR in Unity?
- How to customize a Controller visual model in MRTK3 when the existing one doesn't fit the physical one I'm holding?
- Remove Wave XR permissions from AndroidManifest in Unity
- Why GetDeviceToAbsoluteTrackingPose(...) doesn't return the HMD position in OpenVR?
- Using HTC Vive Comos with OpenXR
- Original HTC Vive inputs not working with Unit's OpenXR
- How to use A-Frame framework to get the rotation data of the helmet
- How to get the SteamVR Inputs using OpenXR in Unity?
- Do SteamVR headsets, like the HTC Vive, not work with A-Frame and WebVR or WebXR anymore?
- Unity: SteamVR TeleportArc not colliding correct in Build
Related Questions in WEBXR
- I want to rotate WebXR Rectile towards walls
- Using WebGPURenderer in A-Frame
- Can I develop a WebXR with ARCore API for IOS?
- Why can't I load .gltf model in WebXR Ar Core base example?
- YouTube Embed video Player with Web XR
- ArFrame_getUpdatedTrackables does not return the expected value
- WEBAR camera does not appear the first time it is opened
- Three.js, WebXR VR realtime change after enter VR
- WebXR/VR Canvas how to interact?
- webXR image tracking: Drag and Drop in AR with ThreeJS
- GLB Texture Broken in WebXR Vision Pro
- WebXR device API button to enable WebXR in Vision Pro does not exist in my Vision Pro Simulator setting
- Trouble Integrating reticle.glb as a Marker for Surface Detection in WebXR
- How to make an A-Frame 360 3D Gallery for VR?
- How to add html dom-overlay on top of the WebXR in react
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm not sure about lower levels, but i have an idea on a higher one: If you have your vive controllers, and want to test out oculus touch events, you could do some mapping.
I'd do a component, intercepting the original events, and emitting new ones with the same details:
If you want it to be "dynamic" you could use a real Map() instead of two arrays, but here it seems redundant.
Furthermore, by including the
detailin the emitted event, all details, values, targets also get passed with the new event.So when you want your entity to react to the mapped events, you can just do:
Check it out in my fiddle (mapped some mouse events, onto made up ones)