Re: Programing help read USB Joystick using gcc

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: James Finstrom
Date:  
To: Main PLUG discussion list
Subject: Re: Programing help read USB Joystick using gcc
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" <> 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
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 have no idea what the function call names or parameters are. I have
tried Googling USB Joystick, but mostly what I find is how to convert an
older game console into a USB device. Can someone point me to required
libraries, header files with function calls, or better yet sample code? Or
is there a different listserver that has people that can more easily answer
questions like this?
>
>
>      I am trying to write a program to send serial command data to a

microcontroller to operate an underwater ROV using the joysticks to control
movement and manipulator arms, and buttons to control lights, secondary
cameras, ballast tanks, etc. But without a way to read human input, I don't
have any data to convert into motor commands to control the movement of the
ROV.
>
> Mike
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss