keyboard input??
Using dx , I know that "if(buffer[DIK_RETURN] & 0x80)" will say if return has been pressed, but can someone tell me is there a way of getting which key has been pressed without calling that seperately for each key.
I want to enter a name for ''savegame'' so I need to print what is typed- something like ''glPrint(key)'' but how do I find ''key''.
Thanks,
Joe
The only method I have seen for doing this is to build a lookup table which contains the ascii names of all the keys.
-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------
-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement