supermedium / aframe-super-keyboard

:musical_keyboard: Simple, functional, and fully customizable keyboard for A-Frame.
https://supermedium.com/aframe-super-keyboard
MIT License
127 stars 32 forks source link

Keyboard is not interactable in immersive VR mode #36

Open rozztopher opened 2 years ago

rozztopher commented 2 years ago

Hello, as the title suggests as a user I am not able to enter an input via the keyboard when I enter the immersive VR experience on browsers such as Firefox and the default Oculus browser.

I have tried it on various other devices and it works correctly. These devices include desktop, mobile, tablet and the static VR view which are used with the official keyboard examples found here: http://supermedium.com/aframe-super-keyboard/

The issue is that when on the immersive VR experience the lasers from the controls pass straight through the keyboard as if it doesn't exist meaning I cannot press a key. Am I maybe missing some extra configuration on this? This is the only object in my scenes I have trouble interacting with.

Decathlannix commented 2 years ago

Hey, have you found a solution to this problem? I'm getting the same issue on HoloLens 2 whenever I enter AR mode. The raycaster hits the keys, they change color, yet nothing gets written.

kylebakerio commented 2 years ago

It sounds like you aren't firing click events on the keys themselves correctly. Without a demo, it's hard to say, but this component does work when properly set up. You might find the discussion here helpful: https://github.com/supermedium/aframe-super-keyboard/issues/18

kylebakerio commented 2 years ago

this might also be relevant: https://github.com/supermedium/aframe-super-keyboard/pull/27