Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag & Drop in Oculus Quest 2 #37

Open
HerrAugust opened this issue Jul 19, 2021 · 1 comment
Open

Drag & Drop in Oculus Quest 2 #37

HerrAugust opened this issue Jul 19, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@HerrAugust
Copy link

HerrAugust commented Jul 19, 2021

demo.mp4

Hello everyone,

I can load a webpage onto the Oculus Quest 2 and use it with the controller (without moving the head). Also, I can use the controller buttons to select the interactable buttons within the webpage.

However, drag & drop does not work and only clicks work (even though not always). Does d&d work to anyone and how to get it working?

I attach a video to show that clicks work while d&d does not via the controller buttons.

Thanks!

@IanPhilips
Copy link
Owner

Hey, that is indeed a limitation with the way it's currently written. You could edit the plugin to add this functionality in though, checkout line 68. You could probably just modify that signature in the java plugin and the unity C# interface to create two separate functions, one that calls MotionEvent.ACTION_DOWN, and the other for MotionEvent.ACTION_UP depending on how long your drag is.

@IanPhilips IanPhilips added the enhancement New feature or request label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants