diff --git a/core/mapping/mapping.h b/core/mapping/mapping.h index 27bd915..723fd5f 100644 --- a/core/mapping/mapping.h +++ b/core/mapping/mapping.h @@ -35,11 +35,15 @@ struct MappingConfig { }; struct SmoothingParameters { - float smoothing = 0.6f; - float correction = 0.4f; - float prediction = 0.4f; - float jitter_radius = 0.04f; - float max_deviation_radius = 0.07f; + // Tuned for a stable menu hand-cursor: the game maps HAND relative to the + // SHOULDER, so reference jitter (MediaPipe shoulder drift during arm motion) + // makes the cursor jump. Higher smoothing + a wider jitter dead-zone steady + // it; lower prediction stops velocity overshoot from amplifying jitter. + float smoothing = 0.7f; + float correction = 0.3f; + float prediction = 0.2f; + float jitter_radius = 0.09f; + float max_deviation_radius = 0.13f; }; contract::Vector4 depth_image_to_skeleton(