Enabled tech ENABLE_CTRL_M_ON_WINDOWS -> Added customizable support for legacy CTRL+M settings dialog on Windows in preference dialog

This commit is contained in:
enricoturri1966 2020-11-26 11:00:24 +01:00
parent 2314a9e8c7
commit 10fb75edf0
7 changed files with 48 additions and 20 deletions

View file

@ -189,7 +189,7 @@ public:
bool handle_input(const DataPacketAxis& packet);
#endif // __APPLE__
#ifdef WIN32
#ifdef _WIN32
bool handle_raw_input_win32(const unsigned char *data, const int packet_lenght);
// Called by Win32 HID enumeration callback.
@ -202,7 +202,7 @@ public:
// if the application does not register at the driver. This is a workaround to ignore these superfluous
// mouse wheel events.
bool process_mouse_wheel() { return m_state.process_mouse_wheel(); }
#endif // WIN32
#endif // _WIN32
// Apply the received 3DConnexion mouse events to the camera. Called from the UI rendering thread.
bool apply(Camera& camera);