Key codes for non-number/letter keys
Hey guys, I'm currently trying to write a Windowsified version of std::cin(), or something like it. I have input for numbers, letters, the symbols above the numbers, space, and backspace working, but I'm having trouble with the rest. It seems that characters such as:
don't use the ascii values when the WM_KEYDOWN message is sent. Instead, they use values that are higher than 128, and I can't seem to find a consistent pattern in the values (i.e. it is the ascii character but raised by a constant value or doubled or something).
Are there VK_ codes for these characters, or do I just have to manually map them to the proper values? And if I manually map them, would there be problems running the program on other computers?