mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-15 18:28:08 +08:00
Deadzone for 3DConnexion devices set to zero
This commit is contained in:
parent
e3e74f4ae0
commit
571fbd23c0
@ -33,11 +33,11 @@ class Mouse3DController
|
|||||||
struct Params
|
struct Params
|
||||||
{
|
{
|
||||||
static constexpr double DefaultTranslationScale = 2.5;
|
static constexpr double DefaultTranslationScale = 2.5;
|
||||||
static constexpr double MaxTranslationDeadzone = 0.2;
|
static constexpr double MaxTranslationDeadzone = 0.0;
|
||||||
static constexpr double DefaultTranslationDeadzone = 0.5 * MaxTranslationDeadzone;
|
static constexpr double DefaultTranslationDeadzone = 0.5 * MaxTranslationDeadzone;
|
||||||
static constexpr float DefaultRotationScale = 1.0f;
|
static constexpr float DefaultRotationScale = 1.0f;
|
||||||
static constexpr float MaxRotationDeadzone = 0.2f;
|
static constexpr float MaxRotationDeadzone = 0.0f;
|
||||||
static constexpr float DefaultRotationDeadzone = 0.5f * MaxRotationDeadzone;
|
static constexpr float DefaultRotationDeadzone = 0.5f * MaxRotationDeadzone;
|
||||||
static constexpr double DefaultZoomScale = 0.1;
|
static constexpr double DefaultZoomScale = 0.1;
|
||||||
|
|
||||||
template <typename Number>
|
template <typename Number>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user