Distinguishing between Bongos and normal GC controllers November 19, 2008 04:56PM | Registered: 15 years ago Posts: 13 |
Re: Distinguishing between Bongos and normal GC controllers November 21, 2008 04:57PM | Admin Registered: 15 years ago Posts: 62 |
Re: Distinguishing between Bongos and normal GC controllers November 21, 2008 05:37PM | Registered: 15 years ago Posts: 1,012 |
Re: Distinguishing between Bongos and normal GC controllers November 21, 2008 07:04PM | Registered: 15 years ago Posts: 13 |
Re: Distinguishing between Bongos and normal GC controllers November 21, 2008 07:06PM | Admin Registered: 15 years ago Posts: 62 |
Re: Distinguishing between Bongos and normal GC controllers November 21, 2008 08:10PM | Registered: 15 years ago Posts: 1,012 |
Re: Distinguishing between Bongos and normal GC controllers November 21, 2008 08:23PM | Registered: 15 years ago Posts: 13 |
int i; u32 inputBuffer[2]; // Check wether a GC controller is a bongo or not. for ( i = 0; i < 3; i++ ) { if ( ( SI_GetType(i) & SI_GC_STANDARD ) && ( SI_GetResponse( i, &inputBuffer ) ) ) { if ( inputBuffer[0] & 0x800000 ) // This is a standard GC controller. printf( "Standard GC Controller \n" ); else // This is a DK Bongo, or pretends to be one. printf( "Bongo Controller \n"); } }