Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 661e45f1 authored by Kevin Schoedel's avatar Kevin Schoedel
Browse files

Recenter upon notification from VrCore

Bug: 36201389
Test: manual on device
Change-Id: I690b70130e45732f052d136bedd587ddbf9493b4
parent 34a327b7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -378,6 +378,9 @@ void ShellView::DrawReticle(const mat4& perspective, const mat4& eye_matrix,
          case 0x3:
            OnTouchpadButton(false, AMOTION_EVENT_BUTTON_BACK);
            break;
          case 0x4:
            should_recenter_ = true;
            break;
          case 0x9:
            OnClick(true);
            break;