2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

Lower sensitivity

This commit is contained in:
Albert Vaca Cintora
2019-07-21 12:26:52 +02:00
parent 16362ae8f6
commit 01cb738165

View File

@@ -57,7 +57,7 @@ public class PresenterActivity extends AppCompatActivity implements SensorEventL
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) {
float xPos = -event.values[2] * SENSITIVITY;