Skip to content

ENH: Add vtkCommand Button 4 & 5

This improvement has been mainly done to custom the OpenVR home button The same logic has been conserved for this home button in VR (Exit App when triggered) but it is now customisable by the user by either

  • adding an Observer on vtkCommand::FourthButtonReleaseEvent (see below other vtkCommand added) ::FourthButtonPressEvent ::FifthButtonReleaseEvent ::FifthButtonPressEvent

  • overriding vtkInteractorStyle::OnFourthButtonUp() (see below other methods added) ::OnFourthButtonDown() ::OnFifthButtonUp() ::OnFifthButtonDown()

Merge request reports