From 5db76d3b5e32cbc894a37a4c1f411d52c6ec709a Mon Sep 17 00:00:00 2001 From: Joshua Saxby <Joshua2.Saxby@live.uwe.ac.uk> Date: Sun, 9 Feb 2020 19:52:48 +0000 Subject: [PATCH] Increase sensitivity of tilt controls a bit --- source/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index 6b60838..f572c08 100755 --- a/source/main.cpp +++ b/source/main.cpp @@ -410,10 +410,10 @@ void start_new_game() { * read accelerometer manually for more controlled movement * than what is available from gesture events */ - if (UBIT.accelerometer.getX() <= -300) { + if (UBIT.accelerometer.getX() <= -200) { move_command = -1; } - if (UBIT.accelerometer.getX() >= +300) { + if (UBIT.accelerometer.getX() >= +200) { move_command = +1; } // take note of any move requests from the player -- GitLab