Original Post
Hi, could someone pls teach me how to read keyboard input with DirectXInput. I wrote a simple game using Window Form's OnKeyDown()& OnKeyUP() event handlers, and i'm moving on to DirectXInput. So far i've managed to get this far: DirectXInput.Device inputDevice = null; inputDevice = new DI.Device(SystemGuid.Keyboard); inputDevice.SetCooperativeLevel(this, CooperativeLevelFlags.Background | CooperativeLevelFlags.NonExclusive); inputDevice.Acquire(); now, where do i go from there? (i need to gather key inputs to move my game character.) I'd appreciate any help. Thanks.