Add shared piano recording/playback and mono key fallback

This commit is contained in:
Jage9
2026-02-23 00:36:36 -05:00
parent b4cf85ac44
commit 93b9d19455
13 changed files with 484 additions and 61 deletions

View File

@@ -75,6 +75,12 @@ class ItemPianoNotePacket(BasePacket):
on: bool
class ItemPianoRecordingPacket(BasePacket):
type: Literal["item_piano_recording"]
itemId: str
action: Literal["toggle_record", "playback"]
class ItemUpdatePacket(BasePacket):
type: Literal["item_update"]
itemId: str
@@ -94,6 +100,7 @@ ClientPacket = (
| ItemDeletePacket
| ItemUsePacket
| ItemPianoNotePacket
| ItemPianoRecordingPacket
| ItemUpdatePacket
)