Skip to main content
futuremapper
Participant
April 3, 2024

Allow Keyboard & Mouse Input Passthrough with Casting 2.0

  • April 3, 2024
  • 2 replies
  • 1773 views

In my app I utilize keyboard and mouse inputs to be able to control my VR app without my headset on my head. I can use scrcpy to do this but it's also very low quality and not a great experience.

I think it would be an amazing feature if the casting 2.0 window could also pass these inputs through just like scrcpy.

2 replies

jtriveri
Honored Contributor
April 8, 2024

I actually wasn't aware that scrcpy passed inputs back to the device until I saw this post. Do mouse and keyboard interactions work with UI elements in VR apps? This would be a great way to help non-techy people through demos.

futuremapper
Participant
April 9, 2024

Yep! You can use regular Unity input keycodes(I’ve tried legacy). You can also use mobile touch input from scrcpy, I don’t know if mouse based input works. Very useful indeed, hopefully they do add this to MQDH.