View Single Post
  #3   Spotlight this post!  
Unread 09-01-2014, 07:47
Zuelu562's Avatar
Zuelu562 Zuelu562 is offline
Ready for WPI District!
AKA: Jake Janssens
FRC #3623 (Terror Bots)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Massachusetts
Posts: 340
Zuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to beholdZuelu562 is a splendid one to behold
Re: Keypad instead of joystick?

Sparky, this is something I've dealt with in the past, starting with a PS2 Controller and eventually the XBox controller. In practice, you can use getRawButton (and getRawAxis) to slowly figure out what is what on the pad. Either output it directly to the DS User Messages or put it to the dashboard to make it really easy. I think you'd know, but just for reference, make sure you don't have any commands tied to the buttons/axes you are trying to discover and understand!

If you really need to get it done and have no time for a handbuilt joy pad, this is a solution.
__________________
Team Resume
562 "S.P.A.R.K." - Student Programmer 2008-2011, Field Coach 2011
3623 "Terror Bots" - Technical Mentor, Field Coach 2012 - Present

Volunteer Resume:
BattleCry@WPI 12, 13, 15, 16 - Queuing
BattleCry@WPI 14 - Field Reset
Granite State District Event 2014 - Team Queueing
NEFIRST District Championships '14,'15,'16 - Team Queuing
Reply With Quote