We are about to switch to a new forum software. Until then we have removed the registration on this forum.
when trapped as a char, the directional arrows, page up or down, return a question mark. when trapped as an int, the arrows always return 65535
how can the directional arrows and special keys be recognized?
void setup(){
size (200,200);
}
void draw(){
}
void keyPressed(){
char x = key;
int y = int(key);
println ("key = " + x);
println ( "key value = " + y);
}
Answers
https://Processing.org/reference/keyCode.html
http://studio.ProcessingTogether.com/sp/pad/export/ro.9bY07S95k2C2a/latest
http://studio.ProcessingTogether.com/sp/pad/export/ro.9cfU11egvzT6G/latest