DirectInput stops reading keys after backgrounded
OMG, I failed, lol. Good catch, Endurion. I saw "overlapped" and didn't even finish reading the thing all the way.
@Tom KQT - Sorry, I just assumed that they had upgraded XI to replace DI since it's been quite a while since I downloaded the SDK. You say they don't recommend it for mouse and KB? What do they recommend then? Or was I reading that incorrectly?
@Tom KQT - Sorry, I just assumed that they had upgraded XI to replace DI since it's been quite a while since I downloaded the SDK. You say they don't recommend it for mouse and KB? What do they recommend then? Or was I reading that incorrectly?
DirectInput is still useful in that it bypasses mouse acceleration (which may be highly desirable if you're doing an FPS), automatically clips to the window's client rect, and automatically hides/shows the cursor for you. It's also extremely well-documented, which is a LOT more than can be said for Raw Input. MS may consider it deprecated, but they have yet to produce anything that fully replaces it's functionality.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement