Sign in to follow this  
melfesto

[.net] C# dx9 2009 SDK directx directinput

Recommended Posts

melfesto    122
Hi all, I am new to the forums and just had a trying to get the hang of DX9 in C#. I have programmed before in C++ and i have a ok knowing of c#. I wanted to know if there is any tutorials for just a simple app to aquire a keyboard and just output it to a form text boc or a pic box the keys that are being pressed. I am using VS 2008 and have the latest SDK pack from 2009. Any help would be a giant + . Thanks all in advance and happy coding.

Share this post


Link to post
Share on other sites
Headkaze    607
I didn't realise he was after basic keyboard input. DirectInput is only recommended for joystick input. Standard Windows Forms have events to read input as benryves pointed out. If you do want to do anything DirectX related then check out SlimDX.

Share this post


Link to post
Share on other sites
melfesto    122
thanks guys for your info i will check into that slimD. I wanted to use directX because i want to start getting into that more. I picked up a few books but there examples are out dated and dont compile or have loads of errors. I see alot of threads on XNA but i dont think i want to go that rout because its like they give you everything all rapped up in there own .libs and stuff i kinda want to be able to learn how everything works rather then have it given to me.

Share this post


Link to post
Share on other sites
melfesto    122
Ok i still having some problems getting some info on this i checked out the slimDX and its like XNA in a sense that they have there own special .lib you have to use I know it would probably be good to just use it and no reinvent the wheel but I Kinda wanted to do things from scratch. Anyone have any input on this or point me to a working tutorial or documenation. Just trying to get a simple form up that will create a device aquire it and output what keys are pressed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this