Skip to content

Commit

Permalink
Adjust display offset for left handed
Browse files Browse the repository at this point in the history
  • Loading branch information
r3n33 committed Oct 11, 2021
1 parent 0e21e7d commit c452a31
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c452a31

Please sign in to comment.