mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-02 16:59:48 +02:00
ENABLE_3DCONNEXION_DEVICES -> Serialization of mouse device parameters into config
This commit is contained in:
@@ -125,6 +125,12 @@ public:
|
||||
std::vector<std::string> get_recent_projects() const;
|
||||
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);
|
||||
#endif // ENABLE_3DCONNEXION_DEVICES
|
||||
|
||||
private:
|
||||
// Map of section, name -> value
|
||||
std::map<std::string, std::map<std::string, std::string>> m_storage;
|
||||
|
||||
Reference in New Issue
Block a user