Sounds stupid but I can't find a (nice, clean, smart...) way for scanning
the whole keyboard.
I just need to know which key is pressed... as an window event.
For now I scan values 1 to 255 in a loop but it is a very empirical
way
Any
Thks
Beware of the man who has the solution before he understands the problem...
i believe examinekeyboard() requires you to be in 3d mode. i think it relies on the directX stuffs.... i could be wrong though... but the mouse commands are like that.
Download the API-Guide from www.allapi.net, and have a look at the keyboard specific stuff there.
Off the top of my head, there`s a command called GetKeyBoardState, and it fills a 256 byte buffer with the state of each key