Support number 1 key press recording

This commit is contained in:
decentral1se 2021-05-28 10:02:19 +02:00
parent bd8133d88f
commit b635361904
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A

View File

@ -147,6 +147,12 @@ function gardenShapes() {
});
}
function keyPressed() {
if (keyCode === 49) {
record();
}
}
function setupRecording() {
/**
* Setup logic for sound recording.