diff --git a/vpad_functions.c b/vpad_functions.c index bb09871..2746dfb 100644 --- a/vpad_functions.c +++ b/vpad_functions.c @@ -76,6 +76,8 @@ EXPORT_DECL(s32, VPADSetLcdMode, s32 padnum, s32 lcdmode); EXPORT_DECL(s32, VPADGetLcdMode, s32 padnum, s32 *lcdmode); EXPORT_DECL(s32, VPADBASEGetMotorOnRemainingCount, s32 lcdmode); EXPORT_DECL(s32, VPADBASESetMotorOnRemainingCount, s32 lcdmode, s32 counter); +EXPORT_DECL(void, VPADBASESetSensorBarSetting, s32 chan, s8 setting); +EXPORT_DECL(void, VPADBASEGetSensorBarSetting, s32 chan, s8 *setting); void InitAcquireVPad(void) { @@ -138,4 +140,6 @@ void InitVPadFunctionPointers(void) OS_FIND_EXPORT(vpad_handle, VPADGetLcdMode); OS_FIND_EXPORT(vpadbase_handle, VPADBASEGetMotorOnRemainingCount); OS_FIND_EXPORT(vpadbase_handle, VPADBASESetMotorOnRemainingCount); + OS_FIND_EXPORT(vpadbase_handle, VPADBASESetSensorBarSetting); + OS_FIND_EXPORT(vpadbase_handle, VPADBASEGetSensorBarSetting); } diff --git a/vpad_functions.h b/vpad_functions.h index 44cf298..f855f6a 100644 --- a/vpad_functions.h +++ b/vpad_functions.h @@ -190,6 +190,8 @@ extern s32 (* VPADSetLcdMode)(s32 padnum, s32 lcdmode); extern s32 (* VPADGetLcdMode)(s32 padnum, s32 *lcdmode); extern s32 (* VPADBASEGetMotorOnRemainingCount)(s32 lcdmode); extern s32 (* VPADBASESetMotorOnRemainingCount)(s32 lcdmode, s32 counter); +extern void (* VPADBASESetSensorBarSetting)(s32 chan, s8 setting); +extern void (* VPADBASEGetSensorBarSetting)(s32 chan, s8 *setting); #ifdef __cplusplus }