How do you fix the problem of multiple calls when holding a key.

I'm trying to make my own piano, and I've got the problem of where if you hold down a key, processing will repeatedly call the keyPressed function even though I only want it to be called once at a time. How do you fix this?

Answers

Sign In or Register to comment.