CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

USB Joystick

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
eemece2



Joined: 06 Feb 2006
Posts: 2

View user's profile Send private message

USB Joystick
PostPosted: Mon Feb 06, 2006 11:44 am     Reply with quote

Hello,

I an looking for a C Code that implements a USB Joystick.

Something like the USB mouse example.
It is worth to me the HID configuration that works with that example.

Thanks you very much,

Edu
rwyoung



Joined: 12 Nov 2003
Posts: 563
Location: Lawrence, KS USA

View user's profile Send private message Send e-mail

PostPosted: Tue Feb 07, 2006 1:53 pm     Reply with quote

http://www.iay.org.uk/blog/2003/07/my_very_first_u.html was written for the older 16C745 but might get you started.

Remember, Google is your friend.
_________________
Rob Young
The Screw-Up Fairy may just visit you but he has crashed on my couch for the last month!
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Feb 07, 2006 6:58 pm     Reply with quote

rwyoung wrote:

Remember, Google is your friend.


Or at least your Big Brother Rolling Eyes
_________________
The search for better is endless. Instead simply find very good and get the job done.
eemece2



Joined: 06 Feb 2006
Posts: 2

View user's profile Send private message

PostPosted: Wed Feb 08, 2006 12:56 pm     Reply with quote

Thanks rwyoung,

But I need a C example, and for 18F2550. Too many changes( I supose) to do, with my little USB knowledge.

I hard Googled to find a example, but without success.

With the tests I have made, I have only gotten to detect the USB device like a HID device, showing it in the device manager, but with the yellow icon. There are somethink wrong in the code.

I will continue testing.

Thanks,
Edu-eemece2
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group