Skip to content

Screen 90° and 270° mirrors the buffer instead of actually rotating it #13

Open

Description

@igiona

Here what I see on my display when I set the various rotations:

0°

90°

180°

270°

Additionally, the display seems to have 180° mismatch with the touch-panel, which I found weird and given that this mapping seems a bit buggy, maybe even 0° and 180° are mis-mapped ?

Activity

  1. IniterWorker commented on Dec 10, 2024

    @IniterWorker
    Owner

    What is the mode that you are using with rotation?

  2. igiona commented on Dec 11, 2024

    @igiona
    Author

    What is the mode that you are using with rotation?

    I'm not sure what you mean by mode, I initialize the controller as follows:

    https://github.com/igiona/rs-watch/blob/main/src%2Fui_task%2Fui_task.rs#L159-L168

  3. IniterWorker commented on Feb 17, 2025

    @IniterWorker
    Owner

    Looks like you're using slint, and there is a related issue (#5) you might want to check out.

    You are in unbuffered mode right now, which is why you are only getting mirrored rotation. Without buffered processing, we don't do any pixel translation, so this behavior is expected.

    You might want to figure out your own solution or suggest an abstraction. You’re not the only one using slint with this driver, so others are probably dealing with the same thing.

    Feel free to ask if you have more questions or close the issue if this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions