180° display flip not centered #340

Open
opened 2026-02-20 08:22:05 -05:00 by deekerman · 2 comments
Owner

Originally created by @traxata on GitHub (Jun 22, 2025).

Originally assigned to: @ym on GitHub.

Hi all, hopefully a relatively minor fix, the flipped display is not centered like standard display so some text can get a little blurry as the glass curves to the side.
App version: 0.4.4
System: 0.2.4

The touch controls are mapped to where it should be, not where it is displayed. i.e. pressing the back button.

Image
Flipped, appears aligned to the right.

Image
Normal orientation, appears center aligned.

Originally created by @traxata on GitHub (Jun 22, 2025). Originally assigned to: @ym on GitHub. Hi all, hopefully a relatively minor fix, the flipped display is not centered like standard display so some text can get a little blurry as the glass curves to the side. App version: 0.4.4 System: 0.2.4 The touch controls are mapped to where it _should_ be, not where it is displayed. i.e. pressing the back button. ![Image](https://github.com/user-attachments/assets/2ffe3569-2621-4428-8f80-5002c17aae59) Flipped, appears aligned to the right. ![Image](https://github.com/user-attachments/assets/7a756224-5aa1-4f56-a65b-a17d78c30f55) Normal orientation, appears center aligned.
Author
Owner

@dseven commented on GitHub (Jun 22, 2025):

All of the UI screens have an extra 20 pixels of padding on the left side (example). It appears that this is to compensate for a portion of the display ... not actually existing? I hacked a version with the extra padding moved to the right side, and that looks better when rotated, but of course it looks wrong when not rotated. Also the touch controls don't seem to line up properly (back button doesn't work). I'm sure it's hackable, but maybe not completely trivial. I may tinker with it some more if someone else doesn't get there first...

@dseven commented on GitHub (Jun 22, 2025): All of the UI screens have an extra 20 pixels of padding on the left side ([example](https://github.com/jetkvm/jetkvm-native/blob/9618f1e93f70b6b0c5d1597040297e74bc778a3c/ui/ui_Home_Screen.c#L16)). It appears that this is to compensate for a portion of the display ... not actually existing? I hacked a version with the extra padding moved to the right side, and that looks better when rotated, but of course it looks wrong when not rotated. Also the touch controls don't seem to line up properly (back button doesn't work). I'm sure it's hackable, but maybe not completely trivial. I may tinker with it some more if someone else doesn't get there first...
Author
Owner

@dseven commented on GitHub (Jun 22, 2025):

I've come up with a kludge for this. It works, but it's kindof icky. github.com/dseven/jetkvm-native@dffa65afe1

I'm not confident enough to make this a PR yet, and there's jetkvm/jetkvm-native#4 in the way anyway.

Thoughts? Better ideas? @ym @adamshiervani ?

@dseven commented on GitHub (Jun 22, 2025): I've come up with a kludge for this. It works, but it's kindof icky. https://github.com/dseven/jetkvm-native/commit/dffa65afe1a3843a007a27f8a67d4f6a4eb34f89 I'm not confident enough to make this a PR yet, and there's jetkvm/jetkvm-native#4 in the way anyway. Thoughts? Better ideas? @ym @adamshiervani ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/kvm#340
No description provided.