Compiling Tier 2 with Visual Studio 2017 and running on Windows 10, I am having trouble getting correct values from the keyboard commands. If I run:
...this always prints a value of zero regardless of the state of the key. The Visual Studio tool-tips indicate that the parameter should be of type unsigned int, but if I do (unsigned int)'a' or (int)'a', the function always reports zero. The only way this works is if I literally use the decimal value 65 as the parameter, but I don't understand why this would be the case. It would be nice to know why the casting doesn't work as I would prefer to work with characters over numbers (note that I have the same problem with agk::GetRawKeyPressed).
Goo Goo G\'Joob!