|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Keypad instead of joystick?
You could use an IO module to build a custom keypad (or interface to the raw input from an existing keypad).
In your code you would treat it just like a joystick, but you can physically configure the buttons any way you want to. |
|
#2
|
|||
|
|||
|
Re: Keypad instead of joystick?
whoa, thats awesome :O I'd never seen that before! thanks so much!
|
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||
|
|||
|
Re: Keypad instead of joystick?
yeah that would be pretty bad! Well that was why i was considering this now, so that we'd have all build season and the end of february and early march cause we're a week 4. I'd never heard of a custom keypad, that sounds like a really neat idea. that CCI control looks sweet.
|
|
#5
|
||||||
|
||||||
|
Re: Keypad instead of joystick?
Quote:
|
|
#6
|
||||
|
||||
|
Re: Keypad instead of joystick?
Joe - thanks for pointed that tool out.
Brian |
|
#7
|
|||
|
|||
|
Re: Keypad instead of joystick?
Quote:
Check out this link for more information: Using the Stellaris or Tiva LaunchPad in the FIRST Robotics Competition I also have a CD thread that will be updated once the BoosterPack is ready to order. -David |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|