From c452a3199b8f926b1d232f003d59e3f97c619655 Mon Sep 17 00:00:00 2001 From: r3n33 Date: Mon, 11 Oct 2021 14:58:35 -0500 Subject: [PATCH] Adjust display offset for left handed --- main/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/main.c b/main/main.c index d7f6af8..590d6da 100644 --- a/main/main.c +++ b/main/main.c @@ -895,10 +895,12 @@ void ST7789_Task(void *pvParameters) int8_t x_offset = 0; switch (my_user_settings.remote_model) { case MODEL_ALBERT: - x_offset = -5; + if (my_user_settings.left_handed) x_offset = 5; + else x_offset = -5; break; case MODEL_BRUCE: - x_offset = -2; + if (my_user_settings.left_handed) x_offset = 2; + else x_offset = -2; break; case MODEL_CUSTOM: x_offset = 0;