Unity Scroll Rect mapping to Gear VR touchpad — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Unity Scroll Rect mapping to Gear VR touchpad

lXg99lXg99 Posts: 7
I have a working UI implementation via Scroll Rect which runs fine with the mouse in the editor. Is it at all possible to remap  inputs so that the Gear VR touchpad works with that too?


  • cloud_canvascloud_canvas Posts: 63
    Hiro Protagonist
    Yep. All I did was forward the Vector2 of OVRInput.Axis2D.PrimaryTouchpad to the ScrollRect's velocity when you're hovering over it with whatever your hit testing system is, with some scaling and extra logic for direction and stuff of course.
    Samsung Galaxy S8 (Snapdragon 835), Gear VR (2017), Oculus Go (64GB), Unity 2018.3.14f1
Sign In or Register to comment.