Quote:
Originally Posted by gabrielse
The only way I know how to work around this problem is to rewrite the arcade function (using the default MPLab 1-joystick drive code as a model). Our rookie programmer won't have time to do that.
|
Not quite. None of the modes for the Chicklet use the "aux" analog input for a real axis, they use them for encoding buttons. So, if no buttons are pressed p1_aux (or whatever port you're using) should be larger than 127 all the time if you are using the chicklet. So do a check for that, and if p1_aux is significantly greater than 127, switch the X axis.
I've considered something similar to make sure nothing goes weird if our chicklet is malfunctioning.
Not that unless you're in your fix-it window, you shouldn't be coding right now, however.