|
I believe the purpose of DirectInput is to bypass the Hardware Abstraction Layer entirely, apart from some kernel mode hooks (multimedia keyboard buttons, Ctrl+Alt+Delete etc), for the sake of performance, as DirectX manipulates drivers directly as opposed to through the OS. Hence the odd results using GetKeyboardState which is probably part of the application layer (user32.dll or something).
|