From: Chris M. <lor...@gm...> - 2008-12-24 07:37:23
|
On Tue, Dec 23, 2008 at 5:29 PM, frederico schardong <fre...@gm...> wrote: > Hello, > > How I can write a program to use my joystick, it use port midi. It have one > vertical and horizontal axis, and 3 buttons. > I thinking something how show in printf() the value of the axis and the > state of the buttons. The SDL Library is your best bet for reliable joystick input, assuming you wish to avoid lots of DirectX shenanigans. http://www.libsdl.org/ You should be able to install it using Dev C++'s library installer. -- Registered Linux Addict #431495 http://profile.xfire.com/mrstalinman | John 3:16! http://www.fsdev.net/ | http://lordsauron.wordpress.com/ Parents, Take Responsibility For Your Kids! http://www.whattheyplay.com/ |