Original Post
Windows for some reason has some problem with recognising virtual key codes for letters. It works fine when I use things like VK_RETURN, VK_ESCAPE, etc. but when I try to use something like VK_A it gives me an error. For example, the following code (using a GetAsyncKeyState macro):
if (KEY_DOWN(VK_Y)){
return 1;
}
gets this error:
error C2065: ''VK_Y'' : undeclared identifier
Can anyone help me with this?? Thanks in advance.
- Daniel
my homepage
my homepage