Skip to content

Rotate watch in nightstand mode - #299

Open
MagneFire wants to merge 3 commits into
AsteroidOS:masterfrom
MagneFire:f/screen-rotation
Open

MagneFire wants to merge 3 commits into
AsteroidOS:masterfrom
MagneFire:f/screen-rotation

Conversation

@MagneFire

Copy link
Copy Markdown
Member

Some charging cradles stand the watch on its side and turn it into a bedside clock.

Rotate the UI with the watch while nightstand mode is active.
Ambient mode pauses the sensor but keeps the orientation, so the clock stays rotated while dimmed.

@MagneFire

Copy link
Copy Markdown
Member Author

This implements AsteroidOS/asteroid#151

@MagneFire

Copy link
Copy Markdown
Member Author

This also depends on AsteroidOS/meta-asteroid#329 for correct rotation if the watch was rotated before switching to nightstand mode.

@MagneFire
MagneFire marked this pull request as ready for review September 23, 2026 19:12
@MagneFire
MagneFire marked this pull request as draft September 23, 2026 19:19
@MagneFire
MagneFire marked this pull request as ready for review September 23, 2026 19:21
Intercepted touch updates carried scene coordinates, so drags in a
rotated app came out rotated.

Signed-off-by: Darrel Griët <dgriet@gmail.com>
No AsteroidOS client handles a wl_output transform. The compositor
scene rotates instead.

Signed-off-by: Darrel Griët <dgriet@gmail.com>
@MagneFire
MagneFire force-pushed the f/screen-rotation branch 2 times, most recently from cb9ded6 to 702e274 Compare September 23, 2026 19:25
For cradles that stand the watch on its side. App windows rotate with
the home screen. /desktop/asteroid/nightstand/rotate disables it.

Signed-off-by: Darrel Griët <dgriet@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant