I know in Linux it uses SDL. But in windows does it use DirectInput? Btw, does the GetKeyState in WinUser.h sucks?
I know in Linux it uses SDL. But in windows does it use DirectInput? Btw, does the GetKeyState in WinUser.h sucks?
If I am not mistaken both of these games use OpenGL which works in other environments than Windows (i.e. I strongly believe they are not using SDL...)
And what kind of question is that "does the GetKeyState in WinUser.h sucks" ?
Ok I found a good source. It initialize DirectInput so I think it uses that. Here!If I am not mistaken both of these games use OpenGL which works in other environments than Windows (i.e. I strongly believe they are not using SDL...)
I'm sorry if it is a bit off topic but I'm creating an input class for my multi-platform game engineAnd what kind of question is that "does the GetKeyState in WinUser.h sucks" ?
so I ask if the GetKeyState is good enough.
But I saw that most of the games uses directinput ( direct3d or not ). I think I'll use the same for my engine.
Forget GetKeyState. It doesn't do what you think it does.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law