OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Mouse3DController.cpp File Reference
#include "libslic3r/libslic3r.h"
#include "libslic3r/PresetBundle.hpp"
#include "libslic3r/AppConfig.hpp"
#include "Mouse3DController.hpp"
#include "GUI.hpp"
#include "Camera.hpp"
#include "GUI_App.hpp"
#include "GLCanvas3D.hpp"
#include "Plater.hpp"
#include "NotificationManager.hpp"
#include <vector>
#include "libslic3r/Point.hpp"
#include <cstddef>
#include <mutex>
#include <deque>
#include <utility>
#include <cassert>
#include <string>
#include <algorithm>
#include <imgui.h>
#include <chrono>
#include <hidapi.h>
#include <map>
#include <boost/algorithm/string/trim.hpp>
#include <ios>
#include <wx/app.h>
#include <cstdlib>
#include <wx/glcanvas.h>
#include <boost/nowide/convert.hpp>
#include <boost/log/trivial.hpp>
#include "I18N.hpp"
#include <bitset>
#include <cstdio>
#include <cstring>
Include dependency graph for Mouse3DController.cpp:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::GUI

Functions

static double Slic3r::GUI::convert_input (int coord_byte_low, int coord_byte_high, double deadzone)

Variables

static const std::vector< int > _3DCONNEXION_VENDORS
static const std::vector< int > _3DCONNEXION_DEVICES

Variable Documentation

◆ _3DCONNEXION_DEVICES

const std::vector<int> _3DCONNEXION_DEVICES
static
Initial value:
=
{
0xc603,
0xc605,
0xc606,
0xc621,
0xc623,
0xc625,
0xc626,
0xc627,
0xc628,
0xc629,
0xc62b,
0xc640,
0xc62e,
0xc62f,
0xc631,
0xc632,
0xc633,
0xc635,
0xc636,
0xc63a,
0xc652,
}
58{
59 0xc603, /* 50691 spacemouse plus XT */
60 0xc605, /* 50693 cadman */
61 0xc606, /* 50694 spacemouse classic */
62 0xc621, /* 50721 spaceball 5000 */
63 0xc623, /* 50723 space traveller */
64 0xc625, /* 50725 space pilot */
65 0xc626, /* 50726 space navigator *TESTED* */
66 0xc627, /* 50727 space explorer */
67 0xc628, /* 50728 space navigator for notebooks*/
68 0xc629, /* 50729 space pilot pro*/
69 0xc62b, /* 50731 space mouse pro*/
70 0xc640, /* 50752 nulooq */
71 0xc62e, /* 50734 spacemouse wireless (USB cable) *TESTED* */
72 0xc62f, /* 50735 spacemouse wireless receiver */
73 0xc631, /* 50737 spacemouse pro wireless *TESTED* */
74 0xc632, /* 50738 spacemouse pro wireless receiver */
75 0xc633, /* 50739 spacemouse enterprise */
76 0xc635, /* 50741 spacemouse compact *TESTED* */
77 0xc636, /* 50742 spacemouse module */
78 0xc63a, /* 60060 spacemouse wireless (Bluetooth) */
79 0xc652, /* 50770 3Dconnexion universal receiver *TESTED* */
80};

Referenced by Slic3r::GUI::Mouse3DController::connect_device().

◆ _3DCONNEXION_VENDORS

const std::vector<int> _3DCONNEXION_VENDORS
static
Initial value:
=
{
0x046d,
0x256F
}
51{
52 0x046d, // LOGITECH = 1133 // Logitech (3Dconnexion is made by Logitech)
53 0x256F // 3DCONNECTION = 9583 // 3Dconnexion
54};

Referenced by Slic3r::GUI::Mouse3DController::connect_device().