Thread: More Buttons
View Single Post
  #2   Spotlight this post!  
Unread 07-02-2008, 15:59
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: More Buttons

If you don't need more than eight buttons, and you need to be able to detect each of them independently from the others, recall that you have four analog ("axis") inputs in addition to the four switch inputs. Your idea for using resistors is fine; you just need to connect each button/resistor to its own joystick connector pin.

There is also the option of using the redundant switch connections available on two of the joystick ports. You can "steal" switch inputs from one joystick and use them via a different port. See the OI documentation for details on which ports support this.


By the way, congratulations on a very good question! You've stated the problem well, and your comments show that you've thought about the solution and you understand the issues.