Commit 01cb7381 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Lower sensitivity

parent 16362ae8
...@@ -57,7 +57,7 @@ public class PresenterActivity extends AppCompatActivity implements SensorEventL ...@@ -57,7 +57,7 @@ public class PresenterActivity extends AppCompatActivity implements SensorEventL
private SensorManager sensorManager; private SensorManager sensorManager;
static final float SENSITIVITY = 0.05f; //TODO: Make configurable? static final float SENSITIVITY = 0.03f; //TODO: Make configurable?
public void gyroscopeEvent(SensorEvent event) { public void gyroscopeEvent(SensorEvent event) {
float xPos = -event.values[2] * SENSITIVITY; float xPos = -event.values[2] * SENSITIVITY;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment