Original Post
Hi guys. I was wondering, what is it that makes DirectInput better than the normal Win32 input(Window Proc)? Is it faster or more efficient? How can we test which is better?
Quote:Only if you need to. I.e. for high-DPI mouse input. I wouldn't go using it for keyboard input of GUI-style mouse input.
Original post by Firecore
in that case ill learn RawInput.
Quote:
Original post by Evil Steve Quote:Only if you need to. I.e. for high-DPI mouse input. I wouldn't go using it for keyboard input of GUI-style mouse input.
Original post by Firecore
in that case ill learn RawInput.
Quote:To be honest, if you're only doing it to reduce latency, I wouldn't bother with DirectInput. It's no faster than Window messages for what you're doing; your input system will only be ticked once per frame, so any lag will be the same really.
Original post by Firecore Quote:
Original post by Evil Steve Quote:Only if you need to. I.e. for high-DPI mouse input. I wouldn't go using it for keyboard input of GUI-style mouse input.
Original post by Firecore
in that case ill learn RawInput.
Well the only reason I want DInput is for my game. I dont really need it for GUI input. I mean, I'll want my game to have fast input and output.
Quote:
Original post by Firecore
Sorry for ressurecting this old post, but i thought this would be a good post to add my question to.
I was just curious whether GetAsyncKeyState a viable alternative to WM_INPUT?
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more