diff --git a/include/wiidrc/wiidrc.h b/include/wiidrc/wiidrc.h index 875610d..e556338 100644 --- a/include/wiidrc/wiidrc.h +++ b/include/wiidrc/wiidrc.h @@ -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(); diff --git a/source/wiidrc.c b/source/wiidrc.c index 62d7c27..3c66f9b 100644 --- a/source/wiidrc.c +++ b/source/wiidrc.c @@ -98,6 +98,10 @@ bool WiiDRC_ScanPads() return true; } +const u8 *WiiDRC_GetRawI2CAddr() +{ + return __WiiDRC_I2CBuf; +} const struct WiiDRCData *WiiDRC_Data() { return &__WiiDRC_PadData;