[GD-General] A DirectInput problem
Brought to you by:
vexxed72
From: Pierre T. <pie...@gr...> - 2008-07-07 08:50:10
|
(Posted here while I'm waiting for the DXML to confirm my subscription) Hi, I have a problem with DirectInput in the August 2007 SDK. A good repro case exists in the SDK's samples, just run: Microsoft DirectX SDK (August 2007)\Samples\C++\DirectInput\Bin\x86\Keyboard.exe Create an exclusive, foreground, immediate device. Now, press W and D at the same time, as if you were moving forward/right in a game. Then, while still pressing W and D, press space for a jump. The key is correctly detected (Data 0x11 0x20 0x39). Now however, press S and D at the same time, to move backward/right (Data 0x1f 0x20). Then press space. The key is not detected, and player can't jump while moving backward/right (which is exactly how I found the issue). Do you see the same thing? Is that "normal" behaviour? (??) Any way to fix this? Thanks for any help.... - Pierre |