processing arrow keys code example Example: processing right arrow key void keyPressed() { if (keyCode == DOWN) { } }