|
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.
|