Also, for quick reference:

Key = Ascii

0 = 48
1 = 49
2 = 50
3 = 51
4 = 52
5 = 53
6 = 54
7 = 55
8 = 56
9 = 57

Note: These are not to be mistaken for the standard DirectRT / DirectX keycodes which can be found in the user's guide, or online here:
http://www.empirisoft.com/directrt/h..._key_codes.htm