View Single Post
  #2   Spotlight this post!  
Unread 11-02-2013, 17:17
SteveGarward's Avatar
SteveGarward SteveGarward is offline
Red 5, standing by...
AKA: 7 years already
FRC #0111 (WildStang), FRC #3132 (Thunder Down Under)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Gurnee, IL
Posts: 173
SteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud of
Re: Arduino Leonardo Recognized as Joystick

I am planning on having us try the Leonardo out this year instead of the Cypress board. It arrived this morning, so I haven't tried it yet. There are some decent resources on the web available, and I'll dig up what I found later tonight. Once we get it going I'll post some info here.

In short, you need a descriptor for your 'joystick' so you can describe the buttons etc that you are going to have, and then from your Arduino code, write your values to the computer as a report of the joystick state. Again, some resources where people have done this is helpful, and I will post some later.

Keep in mind having it show up as a joystick is not the same as how the Cypress board showed up in the Driver Station software, as far as I know.
__________________
FRC Team 111 - WildStang (Mentor, Drive Coach)
FTC Team 7458 - Full Force! (Mentor, Coach)
FRC Team 3132 - Australia's FIRST FRC Team! (Holy crazy first year, Batman!)

Reply With Quote