Ive been wanting to know how to do that too, but I have a question about it. the line...
print scancode()
Does that print it on the screen or just in memory for further use? Or is this where I find out which scancode that is? I am wanting to rework the up, down, left, & right keys to w, s, a, & d keys, & I have been trying to figure out the scancode command for some time (they had something similar in Rad, but I could never figure out how to use it.)
Also, in the documentation, is there a scancode reference for all of the scancodes? If not, is there an online tutorial?
Thx,