feat: new sharing system

feat: support legacy layout import
This commit is contained in:
2023-09-16 14:17:59 +02:00
parent a39f57bac1
commit 4cd9ce536d
33 changed files with 1391 additions and 698 deletions

View File

@@ -1,5 +1,4 @@
<script lang="ts">
import {KEYMAP_CODES} from "$lib/serial/keymap-codes"
import ActionListItem from "$lib/components/ActionListItem.svelte"
export let exact: number | undefined = undefined

View File

@@ -2,7 +2,7 @@
import {serialLog, serialPort} from "$lib/serial/connection"
import {slide} from "svelte/transition"
function submit(event: InputEvent) {
function submit(event: Event) {
event.preventDefault()
$serialPort.send(value.trim())
value = ""

View File

@@ -23,7 +23,7 @@
results = query ? index.search(searchInput.value) : defaultActions
}
let customValue = undefined
let customValue: number | undefined = undefined
const defaultActions: string[] = [
charaActions,
mouseActions,