-added function to get raw i2c address

This commit is contained in:
FIX94 2017-09-17 02:16:56 +02:00
parent 7922ef1cc5
commit 0be511d843
No known key found for this signature in database
GPG Key ID: CE39016A19D8EADA
2 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,7 @@ bool WiiDRC_Init();
bool WiiDRC_Inited();
bool WiiDRC_Recalibrate();
bool WiiDRC_ScanPads();
const u8 *WiiDRC_GetRawI2CAddr();
const struct WiiDRCData *WiiDRC_Data();
u32 WiiDRC_ButtonsUp();
u32 WiiDRC_ButtonsDown();

View File

@ -98,6 +98,10 @@ bool WiiDRC_ScanPads()
return true;
}
const u8 *WiiDRC_GetRawI2CAddr()
{
return __WiiDRC_I2CBuf;
}
const struct WiiDRCData *WiiDRC_Data()
{
return &__WiiDRC_PadData;