Menu

#26 Fix for simultaneous reading of TC2068 joysticks

closed-accepted
None
5
2004-01-26
2004-01-24
No

We need to or the individual values before bit flipping.

Discussion

  • Fredrick Meunier

     
  • Fredrick Meunier

    Logged In: YES
    user_id=11017

    Update attachment.

     
  • Philip Kendall

    Philip Kendall - 2004-01-24
    • assigned_to: nobody --> pak21
    • status: open --> pending-accepted
     
  • Philip Kendall

    Philip Kendall - 2004-01-24

    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.

     
  • Philip Kendall

    Philip Kendall - 2004-01-26
    • status: pending-accepted --> closed-accepted
     
  • Philip Kendall

    Philip Kendall - 2004-01-26

    Logged In: YES
    user_id=29214

    Applied by replacing the switch with two if statements.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.