Always keep the reference page open in a tab, google is your friend - so that in another. Look at examples, and here will get you through basics at a fast pace:
P.S. Only use parts of my code if you understand them, otherwise you could get in trouble and need to change it but if you don't know how it works then your screwed (and then you'll need to learn how it works anyway :P). But try doing it on your own first, it's more fun that way :D
Answers
you don't need to use keycodes.
http://processing.org/reference/key.html
Have you some code to share?
Otherwise, just use 'w' and 's', perhaps.
Check out this online example:
http://studio.processingtogether.com/sp/pad/export/ro.9bY07S95k2C2a/latest
Theres a good bit of info on my pong game post:
http://forum.processing.org/two/discussion/3048/virtual-debouncing#Item_26
Always keep the reference page open in a tab, google is your friend - so that in another. Look at examples, and here will get you through basics at a fast pace:
http://www.learningprocessing.com/examples/
Good luck.
P.S. Only use parts of my code if you understand them, otherwise you could get in trouble and need to change it but if you don't know how it works then your screwed (and then you'll need to learn how it works anyway :P). But try doing it on your own first, it's more fun that way :D
this is some of the code.
It's going to be a 2-Player game. board 1 is 1player ect
You mean paddle one?
Yea. i just put in the code as board. although i managed to fix the s and w problem so thankyou