27.08.2010, 18:33
Hello How can i define own keys.
Example
#define KEY_M
??
#define KEY_J
??
if(newkeys == KEY_M) {
print("you have press M on you keyboard";
} else if(newkeys == KEY_J) {
print("you have press J on you keyboard";
} and and and
Ђdit: but for all keys and numbers on the keyboard.
Can you help me?
Sorry for my bad english.
Example
#define KEY_M

#define KEY_J

if(newkeys == KEY_M) {
print("you have press M on you keyboard";
} else if(newkeys == KEY_J) {
print("you have press J on you keyboard";
} and and and
Ђdit: but for all keys and numbers on the keyboard.
Can you help me?
Sorry for my bad english.