From cd1406efe545b32c64b1cb0250b16e36be7344d0 Mon Sep 17 00:00:00 2001 From: razuritta <116608604+razuritta@users.noreply.github.com> Date: Sun, 20 Oct 2024 01:32:14 -0400 Subject: [PATCH] Update init.sh for Hi10Max Fix accel sensors order and multiplier. --- init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.sh b/init.sh index 7ad4b44..b46e41e 100644 --- a/init.sh +++ b/init.sh @@ -690,6 +690,10 @@ function init_hal_sensors() set_property ro.iio.accel.quirks no-trig set_property ro.iio.accel.order 102 ;; + *Hi10Max*) + set_property ro.iio.accel.order 102 + set_property ro.iio.accel.y.opt_scale -1 + ;; *SwitchSA5-271*|*SwitchSA5-271P*) set_property ro.ignore_atkbd 1 has_sensors=true