Browse Source

better trackball acceleration

combinedRaceAndNameDropper
Josh 2 years ago
parent
commit
0b2e583c39
  1. 4
      namedropper/Assets/TrackballInputManager.cs

4
namedropper/Assets/TrackballInputManager.cs

@ -8,10 +8,10 @@ using UnityEngine.UI;
public class TrackballInputManager : MonoBehaviour public class TrackballInputManager : MonoBehaviour
{ {
const float defaultMiceSensitivity = 1.5f; const float defaultMiceSensitivity = 2.5f;
const float upMultiplier = .5f; const float upMultiplier = .5f;
const float accelerationThreshold = 120; const float accelerationThreshold = 120;
const float accelerationMultiplier = .75f; const float accelerationMultiplier = .5f;
[DllImport("LibRawInput")] [DllImport("LibRawInput")]
private static extern bool init(); private static extern bool init();

Loading…
Cancel
Save