mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 14:45:08 +00:00
Lower sensitivity
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user