Skip to content

Commit f8d54a9

Browse files
fix(client-runtime): drop the unused Duo pose list
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 1492bad commit f8d54a9

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

‎packages/client-runtime/src/device/duoControl.ts‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
// @effect-diagnostics globalTimers:off - The stream owns this browser control queue and its timeout.
2-
export const DUO_POSES = [
3-
{ id: "closed", label: "Closed", angle: 0 },
4-
{ id: "book", label: "Book", angle: 90 },
5-
{ id: "open", label: "Open", angle: 180 },
6-
{ id: "laptop", label: "Laptop", angle: 90 },
7-
{ id: "tent", label: "Tent", angle: 80 },
8-
] as const;
9-
export type DuoPose = (typeof DUO_POSES)[number]["id"];
2+
/** Native hinge presets. Each one also sets the device's physical orientation. */
3+
export type DuoPose = "closed" | "book" | "open" | "laptop" | "tent";
104
export type DuoOrientation =
115
| "portrait"
126
| "landscape_left"

0 commit comments

Comments
 (0)