Programing help read USB Joystick using gcc

2011-02-23 Thread Mike Bushroe
I have been trying unsuccessfully for some time to figure out how to read the analog axes and digital buttons on one or more USB joysticks connected to a computer with an open source programming language like C compiled by gcc. I have no idea what library needs to be added, if any. I also

Re: Programing help read USB Joystick using gcc

2011-02-23 Thread James Finstrom
I believe there is a plug-dec list for these things. That said google joystick.h On Feb 23, 2011 4:43 PM, Mike Bushroe mbush...@gmail.com wrote: I have been trying unsuccessfully for some time to figure out how to read the analog axes and digital buttons on one or more USB joysticks

Re: Programing help read USB Joystick using gcc

2011-02-23 Thread Joseph Sinclair
Sounds like what you need to do is very similar to writing a custom driver for your joystick in an embedded environment. You'll probably need to do something similar to the following: 1) A library for usb interface in your environment a) libusb provides a low-level interface to USB data for

Re: Programing help read USB Joystick using gcc

2011-02-23 Thread Matt Graham
From: Mike Bushroe mbush...@gmail.com I have been trying unsuccessfully for some time to figure out how to read the analog axes and digital buttons on one or more USB joysticks connected to a computer with an open source programming language like C compiled by gcc. Please have a look at