KEy input pt 2

This commit is contained in:
s-prechtl 2022-12-13 09:46:18 +01:00
parent 2e1e4c3ce9
commit cb7d02896c
2 changed files with 7 additions and 5 deletions

View file

@ -54,7 +54,9 @@ function draw() {
});
}
//
// function keyPressed() {
//
// }
function keyPressed() {
if (key.toLowerCase() == "k") {
raspberry.boost();
}
}