migrate layout icons form unicode to material symbols

migrate keymap to yml
This commit is contained in:
2023-07-07 20:55:51 +02:00
parent ece5b9a000
commit 21f0ee2041
3 changed files with 5 additions and 8 deletions

View File

@@ -4,9 +4,6 @@ import type {Chord} from "$lib/serial/connection"
export const VENDOR_ID = 0x239a
/**
* @returns {Promise<boolean>}
*/
export async function hasSerialPermission() {
return navigator.serial.getPorts().then(it => it.length > 0)
}
@@ -23,9 +20,6 @@ export class CharaDevice {
version: Promise<string>
deviceId: Promise<string>
/**
* @param baudRate
*/
constructor(baudRate = 115200) {
this.port = navigator.serial.getPorts().then(async ports => {
const port =