デバッグとか、パラメータの微調整に。

 

/***

KeyCode



Compiler:Processing0124Beta

Date:2007/4/29

Author:ShoHashimoto

WebSite:http://shokai.org

***/

voidsetup(){

}

voiddraw(){

}

voidkeyPressed(){

if(‘A’<=key&&key<='z'){

println(key);

return;

}

switch(keyCode){

caseUP:

println(“↑”);

break;

caseDOWN:

println(“↓”);

break;

caseLEFT:

println(“←”);

break;

caseRIGHT:

println(“→”);

break;

}

}