Original Post
Im having trouble determining when a key is let up. [edit - correction] I used WM_CHAR to check for the input, but I'm not sure what command to check that takes the shift/capslock keys into consideration with KEYUP. The following method worked for letters, but other spots on the ascii chart do not use the same positioning so I am a little confused of how to offset the value. [Edited by - JeremyCAFE on September 17, 2006 11:39:37 PM]
char c = (char)wparam;
if((c >= 65) && (c <= 90))
pInput->SetKeyUp(c + 32);
pInput->SetKeyUp(c);