I know in Linux it uses SDL. But in windows does it use DirectInput? Btw, does the GetKeyState in WinUser.h sucks?
Printable View
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!Quote:
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 engineQuote:
And 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.