View Single Post
Mentor
16Jul2008,23:22  
xpi0t0s's Avatar
No. ASCII is a characterset and has nothing to do with reading the keyboard. Some of the values correspond but that's about it.
Have a look at Get KeyState and GetAsyncKeyState in the Windows API reference. The key name constants begin with VK_, so the keycode for F1 is VK_F1. Innit.