Original Post
If I use DirectInput what is the easyest way to get text from user? I want simply get nickname of the player in one place. But I found that key codes in DI isn''t continous. So should I write huge block like this
char c;
if (IsKeyPress(DIK_A))
c = ''a'';
else if (IsKeyPress(DIK_B)
c = ''b'';
else if (...)
...
...
Or I have some more convinient way to do this. If not then how I can determine is caps lock light is on or not.