test ccx row

This commit is contained in:
2023-12-07 21:36:31 +01:00
parent 3a62864a41
commit 298de49257
2 changed files with 37 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
name: Lite
col:
- row:
- key: 110
- key: 27
- key: 112
offset: [1, 0]
- key: 113
@@ -17,10 +17,10 @@ col:
- key: 121
- key: 122
- key: 123
- key: 124
- key: 42
offset: [0.25, 0]
- key: 125
- key: 126
- key: 145
- key: 19
- offset: [0, 0.25]
row:
- key: 1
@@ -140,4 +140,3 @@ col:
offset: [0.25, 0]
size: [2, 1]
- key: 104

View File

@@ -15,7 +15,7 @@ const PORT_FILTERS: Map<string, SerialPortFilter> = new Map([
const KEY_COUNTS = {
ONE: 90,
LITE: 67,
X: 255,
X: 256,
}
if (browser && navigator.serial === undefined && import.meta.env.TAURI_FAMILY !== undefined) {
@@ -55,7 +55,7 @@ export class CharaDevice {
company!: "CHARACHORDER"
device!: "ONE" | "LITE" | "X"
chipset!: "M0" | "S2"
keyCount!: 90 | 67 | 255
keyCount!: 90 | 67 | 256
constructor(private readonly baudRate = 115200) {}