Move piano recording keys to Z/X/C and keep control errors out of chat

This commit is contained in:
Jage9
2026-02-23 00:57:18 -05:00
parent 9477beb345
commit d8b470d389
5 changed files with 23 additions and 12 deletions

View File

@@ -2414,17 +2414,17 @@ function handlePianoUseModeInput(code: string): void {
stopPianoUseMode(false);
return;
}
if (code === 'Comma') {
if (code === 'KeyZ') {
signaling.send({ type: 'item_piano_recording', itemId, action: 'toggle_record' });
audio.sfxUiBlip();
return;
}
if (code === 'Period') {
if (code === 'KeyX') {
signaling.send({ type: 'item_piano_recording', itemId, action: 'playback' });
audio.sfxUiBlip();
return;
}
if (code === 'Slash') {
if (code === 'KeyC') {
signaling.send({ type: 'item_piano_recording', itemId, action: 'stop_playback' });
audio.sfxUiBlip();
return;