You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Screen 90° and 270° mirrors the buffer instead of actually rotating it #13
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 ?
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!
Activity
DRAFT! feat(touch): allow to specify the display rotation in the touc…
IniterWorker commentedon Dec 10, 2024
What is the mode that you are using with rotation?
igiona commentedon Dec 11, 2024
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
IniterWorker commentedon Feb 17, 2025
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!