I am working on a simple game for young children. Since some children have a physical limitation, I would like to give them the opportunity to use the joystick as an alternative input device.
Can someone give me some hints, tips or some sample C # code (or even VB.net) on how to implement this?
I would rather not use something from DirectX, because I think that would be superfluous for this type of game.
Thank!
Update:
I read most of the information about these links. I tried to get DirectInput in VS 2010, but I am getting an error that cannot be found. I searched the network for a solution, but in many places I read that DirectX is out of date and I have to use XNA. But all the information I find about XNA is about Windows Phone and XBox. The Microsoft XNA Developer Center says that if you want to develop Windows, you need to use DirectX, and that brings me back to the square!
Can someone help me get back on track? I just want to use the joystick in my Windows WPF application and I am using VS 2010 C #. Thank.
source
share