diff --git a/src/lib/components/LayoutCC1.svelte b/src/lib/components/LayoutCC1.svelte index dfecdae3..7d395cac 100644 --- a/src/lib/components/LayoutCC1.svelte +++ b/src/lib/components/LayoutCC1.svelte @@ -4,53 +4,60 @@ let activeLayer = 0 -
- {#each [["Numeric Layer", "123", 1], ["Primary Layer", "abc", 0], ["Function Layer", "function", 2]] as [title, icon, value]} - - {/each} -
+
+
+ {#each [["Numeric Layer", "123", 1], ["Primary Layer", "abc", 0], ["Function Layer", "function", 2]] as [title, icon, value]} + + {/each} +
-
-
-
- -
- - +
+
+
+ +
+ + +
+
+ + +
+
-
- - -
- -
-
- -
- - +
+ +
+ + +
+
+ + +
+
-
- - -
-
-
-
- - -
-
- - -
-
- - +
+ + +
+
+ + +
+
+ + +
diff --git a/src/lib/components/RingInput.svelte b/src/lib/components/RingInput.svelte index 02b36d41..8fca78aa 100644 --- a/src/lib/components/RingInput.svelte +++ b/src/lib/components/RingInput.svelte @@ -1,11 +1,11 @@ + + + +
+
+ {#each content as word, i} + {#if word} + + {#each word.phrase as letter, j} + {KEYMAP_CODES[letter].id} + {/each} + + {/if} + {/each} +
+ + +
+ + diff --git a/src/lib/serial/connection.ts b/src/lib/serial/connection.ts index b9efd762..8cc17e4c 100644 --- a/src/lib/serial/connection.ts +++ b/src/lib/serial/connection.ts @@ -19,6 +19,8 @@ export const layout = writable([[], [], []]) export const unsavedChanges = writable(0) +export const highlightActions: Writable = writable([]) + export const syncStatus: Writable<"done" | "error" | "downloading" | "uploading"> = writable("done") let device: CharaDevice // @hmr:keep diff --git a/src/routes/train/[mode]/+page.svelte b/src/routes/train/[mode]/+page.svelte index e69de29b..808b525a 100644 --- a/src/routes/train/[mode]/+page.svelte +++ b/src/routes/train/[mode]/+page.svelte @@ -0,0 +1,5 @@ + + +