Thread: p2 not working?
View Single Post
  #6   Spotlight this post!  
Unread 22-02-2008, 08:49
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: p2 not working?

That's correct: you don't need to init the joysticks. Yes, the port 2 values are accessed just like port 1 except using "p2_" instead of "p1_".

Is the second joystick broken? Plug it into port 1 to see if it will work like the other joystick.

If you can add printf's to print the p2_ values, that should help you figure things out.

If you're still stuck, post more info and code...
__________________
Trenton Tornadoes 381
2004 Philadelphia Regional Winners
2006 Xerox Creativity Award
---
My corner of the USPTO.
My favorite error message from gcc: main is usually a function
My favorite error message from Windows: There is not enough disk space available to delete this file.