SpaceMouseOperator
-
class SpaceMouseOperator : public HPS::Operator
Public Functions
-
void HandleButtons(unsigned char const buttons[32])
-
virtual void OnModelAttached() override
This function is called whenever a model is attached to the view that is attached to this operator. If no view is attached to this operator, this function will not be called.
-
virtual bool OnTimerTick(HPS::TimerTickEvent const &in_event) override
This function is called whenever HPS receives a TimerTickEvent.
- Parameters
in_event – A TimerTickEvent object describing the current event state.
- Returns
true if the input event was handled, false otherwise.
-
virtual void OnViewAttached(HPS::View const &attached_view) override
This function is called whenever a view is attached to this operator.
- Parameters
in_attached_view – The view attached to this operator.
-
~SpaceMouseOperator()
-
void HandleButtons(unsigned char const buttons[32])