|
Author |
Topic: key == ENTER ? (Read 1666 times) |
|
nay
|
key == ENTER ?
« on: Apr 15th, 2005, 2:35am » |
|
hi - just wondering what the keyword is for the return/enter key to check if it's been pressed cheers.
|
|
|
|
st33d
|
Re: key == ENTER ?
« Reply #1 on: Apr 15th, 2005, 9:34am » |
|
Code: void setup(){} void loop(){} void keyPressed(){ if (key == 10){ println("enter"); }else{ println(key); } } |
|
|
I could murder a pint.
|
|
|
|