Which input API is best suited for my needs?

Dec 23, 2011 at 4:11pm
Hello.

I'm working on a project using Win32 and DirectX, but I'am not sure which input API is best suited for my needs.

I want to create a platform game where the user only have to use the keyboard and the mouse.

I've heard that the Raw Input API is quite good for this, and that XInput is better than DirectInput. So should I use Raw Input, XInput, or just plain WndProc using Win32 API?

Thanks in advance!
Dec 23, 2011 at 7:10pm
closed account (S6k9GNh0)
DirectInput is deprecated.
I wouldn't touch DirectX with a pole with a length of ∞.
SDL and SFML both provide some good input APIs.
Last edited on Dec 23, 2011 at 7:11pm
Topic archived. No new replies allowed.