Controller module: Stop using custom API name (#67)

This commit is contained in:
Felix-Dev 2021-01-02 01:36:51 +01:00 committed by GitHub
parent 2b16aaaae2
commit a0292a32a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -432,7 +432,7 @@ s32 sceCtrlSetSuspendingExtraSamples(s16 suspendSamples);
*
* @return 0 on success.
*/
s32 sceCtrlExtendInternalCtrlBuffers(u8 inputMode, SceCtrlInputDataTransferHandler *transferHandler, void *inputSource);
s32 sceCtrl_driver_E467BEC8(u8 inputMode, SceCtrlInputDataTransferHandler *transferHandler, void *inputSource);
/**
* Obtain button latch data stored in the internal latch controller buffers. The following button
@ -570,7 +570,7 @@ s32 sceCtrlReadBufferNegative(SceCtrlData *data, u8 nBufs);
* before obtaining the data. The read data is the newest transfered data into the internal controller
* buffers and can contain input state provided by external input devices such as a wireless controller.
*
* @remark You need to call ::SceCtrlExtendInternalCtrlBuffers() before initial use of this API or its related ones.
* @remark You need to call ::sceCtrl_driver_E467BEC8() before initial use of this API or its related ones.
*
* @param inputMode Pass a valid element of ::SceCtrlExternalInputMode (either 1 or 2).
* @param data Pointer to controller data structure in which button information is stored. The obtained
@ -587,7 +587,7 @@ s32 sceCtrlPeekBufferPositive2(u32 inputMode, SceCtrlData2 *data, u8 nBufs);
* before obtaining the data. The read data is the newest transfered data into the internal controller
* buffers and can contain input state provided by external input devices such as a wireless controller.
*
* @remark You need to call ::SceCtrlExtendInternalCtrlBuffers() before initial use of this API or its related ones.
* @remark You need to call ::sceCtrl_driver_E467BEC8() before initial use of this API or its related ones.
*
* @param inputMode Pass a valid element of ::SceCtrlExternalInputMode (either 1 or 2).
* @param data Pointer to controller data structure in which button information is stored. The obtained
@ -604,7 +604,7 @@ s32 sceCtrlPeekBufferNegative2(u32 inputMode, SceCtrlData2 *data, u8 nBufs);
* before obtaining the data. The read data is the newest transfered data into the internal controller
* buffers and can contain input state provided by external input devices such as a wireless controller.
*
* @remark You need to call ::SceCtrlExtendInternalCtrlBuffers() before initial use of this API or its related ones.
* @remark You need to call ::sceCtrl_driver_E467BEC8() before initial use of this API or its related ones.
*
* @param inputMode Pass a valid element of ::SceCtrlExternalInputMode (either 1 or 2).
* @param data Pointer to controller data structure in which button information is stored. The obtained
@ -621,7 +621,7 @@ s32 sceCtrlReadBufferPositive2(u32 inputMode, SceCtrlData2 *data, u8 nBufs);
* before obtaining the data. The read data is the newest transfered data into the internal controller
* buffers and can contain input state provided by external input devices such as a wireless controller.
*
* @remark You need to call ::SceCtrlExtendInternalCtrlBuffers() before initial use of this API or its related ones.
* @remark You need to call ::sceCtrl_driver_E467BEC8() before initial use of this API or its related ones.
*
* @param inputMode Pass a valid element of ::SceCtrlExternalInputMode (either 1 or 2).
* @param data Pointer to controller data structure in which button information is stored. The obtained

View File

@ -492,7 +492,7 @@ SceKernelDeci2Ops g_ctrlDeci2Ops = {
[5] = (void *)sceCtrlClearRapidFire,
[6] = (void *)sceCtrlSetButtonEmulation,
[7] = (void *)sceCtrlSetAnalogEmulation,
[8] = (void *)sceCtrlExtendInternalCtrlBuffers
[8] = (void *)sceCtrl_driver_E467BEC8
},
};
@ -858,7 +858,7 @@ s32 sceCtrlSetSuspendingExtraSamples(s16 suspendSamples)
return SCE_ERROR_OK;
}
s32 sceCtrlExtendInternalCtrlBuffers(u8 inputMode, SceCtrlInputDataTransferHandler *transferHandler, void *inputSource)
s32 sceCtrl_driver_E467BEC8(u8 inputMode, SceCtrlInputDataTransferHandler *transferHandler, void *inputSource)
{
SceUID poolId;
SceCtrlData2 *ctrlBuf;

View File

@ -61,7 +61,7 @@ PSP_EXPORT_FUNC_NID(sceCtrlReadBufferPositive, 0xBE30CED0)
PSP_EXPORT_FUNC_NID(sceCtrlPeekBufferPositive2, 0xD4692E77)
PSP_EXPORT_FUNC_NID(sceCtrlSetAnalogEmulation, 0xDB76878D)
PSP_EXPORT_FUNC_NID(sceCtrlSetSpecialButtonCallback, 0xDF53E160)
PSP_EXPORT_FUNC_NID(sceCtrlExtendInternalCtrlBuffers, 0xE467BEC8)
PSP_EXPORT_FUNC_NID(sceCtrl_driver_E467BEC8, 0xE467BEC8)
PSP_EXPORT_FUNC_NID(sceCtrlGetIdleCancelThreshold, 0xE54253E7)
PSP_EXPORT_FUNC_NID(sceCtrlPeekBufferNegative, 0xE6085C33)
PSP_EXPORT_FUNC_NID(sceCtrlSetPollingMode, 0xF0074903)