Which input API is best suited for my needs?

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!
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
Topic archived. No new replies allowed.