#3230 - Detection of 3Dconnexion devices every 2 seconds

This commit is contained in:
Enrico Turri 2019-11-25 10:34:42 +01:00
parent b1047d2e26
commit ab00f501f1
2 changed files with 12 additions and 0 deletions

View file

@ -12,6 +12,7 @@
#include <thread>
#include <mutex>
#include <vector>
#include <chrono>
namespace Slic3r {
namespace GUI {
@ -130,6 +131,7 @@ class Mouse3DController
std::string m_device_str;
bool m_running;
bool m_settings_dialog;
std::chrono::time_point<std::chrono::steady_clock> m_last_time;
public:
Mouse3DController();