mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 17:03:42 +00:00
fix: lite breaks layout viewer
This commit is contained in:
@@ -33,6 +33,7 @@ export class CharaDevice {
|
||||
company!: "CHARACHORDER"
|
||||
device!: "ONE" | "LITE"
|
||||
chipset!: "M0" | "S2"
|
||||
keyCount!: 90 | 67
|
||||
|
||||
constructor(private readonly baudRate = 115200) {}
|
||||
|
||||
@@ -62,6 +63,7 @@ export class CharaDevice {
|
||||
this.company = company as "CHARACHORDER"
|
||||
this.device = device as "ONE" | "LITE"
|
||||
this.chipset = chipset as "M0" | "S2"
|
||||
this.keyCount = this.device === "ONE" ? 90 : 67
|
||||
}
|
||||
|
||||
private async suspend() {
|
||||
|
||||
Reference in New Issue
Block a user