KEy input pt 2
This commit is contained in:
parent
2e1e4c3ce9
commit
cb7d02896c
2 changed files with 7 additions and 5 deletions
|
|
@ -54,7 +54,9 @@ function draw() {
|
|||
});
|
||||
}
|
||||
|
||||
//
|
||||
// function keyPressed() {
|
||||
//
|
||||
// }
|
||||
|
||||
function keyPressed() {
|
||||
if (key.toLowerCase() == "k") {
|
||||
raspberry.boost();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue