9class SpaceMouseHandlerWindows :
public SpaceMouseHandler,
public MultiListener<PostFocusListener>
12 SpaceMouseHandlerWindows();
13 ~SpaceMouseHandlerWindows()
override;
15 bool initialize()
override;
16 void handle()
override;
17 void updateConnected(
int jid,
int event )
override;
20 MRVIEWER_API
void activateMouseScrollZoom(
bool activeMouseScrollZoom );
22 bool isMouseScrollZoomActive() {
return activeMouseScrollZoom_; }
25 bool initialized_{
false };
26 std::array<unsigned char, SMB_BUTTON_COUNT> buttons_{};
27 int joystickIndex_{ -1 };
28 const int* mapButtons_{
nullptr };
29 int buttonsCount_{ 0 };
30 float handleTime_{ 0.f };
32 std::thread updateThread_;
33 std::atomic_bool updateThreadActive_{
true };
34 std::atomic<std::array<float, 6>> axesDiff_;
35 std::array<float, 6> axesOld_{};
37 bool activeMouseScrollZoom_{
false };
40 bool isUniversalReceiver_{
false };
42 virtual void postFocus_(
bool focused )
override;
44 void updateConnected_();
45 void startUpdateThread_();
Definition MRCameraOrientationPlugin.h:8