diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2019-10-08 15:32:05 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2019-10-08 15:32:05 +0300 |
commit | 4ec6199ef103ff391d81c0a5c5278719eee4ac40 (patch) | |
tree | 8ac60f0f134b91215b7a10fda9cb191b9c212b3d /src/slic3r/GUI/AppConfig.hpp | |
parent | b7db5a95587fa60a10d06172e6a5ea6e4cdc9a43 (diff) |
ENABLE_3DCONNEXION_DEVICES -> Added translation and rotation customizable parameter deadzone
Diffstat (limited to 'src/slic3r/GUI/AppConfig.hpp')
-rw-r--r-- | src/slic3r/GUI/AppConfig.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/slic3r/GUI/AppConfig.hpp b/src/slic3r/GUI/AppConfig.hpp index 1196404a2..fce0c0b39 100644 --- a/src/slic3r/GUI/AppConfig.hpp +++ b/src/slic3r/GUI/AppConfig.hpp @@ -132,9 +132,11 @@ public: void set_recent_projects(const std::vector<std::string>& recent_projects); #if ENABLE_3DCONNEXION_DEVICES - void set_mouse_device(const std::string& name, double translation_speed, float rotation_speed); - bool get_mouse_device_translation_speed(const std::string& name, double& translation_speed); - bool get_mouse_device_rotation_speed(const std::string& name, float& rotation_speed); + void set_mouse_device(const std::string& name, double translation_speed, double translation_deadzone, float rotation_speed, float rotation_deadzone); + bool get_mouse_device_translation_speed(const std::string& name, double& speed); + bool get_mouse_device_translation_deadzone(const std::string& name, double& deadzone); + bool get_mouse_device_rotation_speed(const std::string& name, float& speed); + bool get_mouse_device_rotation_deadzone(const std::string& name, float& deadzone); #endif // ENABLE_3DCONNEXION_DEVICES static const std::string SECTION_FILAMENTS; |