We need to or the individual values before bit flipping.
Logged In: YES user_id=11017
Update attachment.
Logged In: YES user_id=29214
Will apply something very similar when CVS returns; I think that
ret &= ~joystick_timex_read( port, 0 ); ret &= ~joystick_timex_read( port, 1 );
is probably clearer so I'll use that instead unless somebody points out my boolean logic is screwed.
Applied by replacing the switch with two if statements.
Log in to post a comment.
Logged In: YES
user_id=11017
Update attachment.
Logged In: YES
user_id=29214
Will apply something very similar when CVS returns; I think that
ret &= ~joystick_timex_read( port, 0 );
ret &= ~joystick_timex_read( port, 1 );
is probably clearer so I'll use that instead unless somebody
points out my boolean logic is screwed.
Logged In: YES
user_id=29214
Applied by replacing the switch with two if statements.