From 4bdfff445a0169e4d26d552fac6cd69b8da21d7f Mon Sep 17 00:00:00 2001 From: Sergi Granell Date: Mon, 2 Jan 2017 01:06:08 +0100 Subject: Fix ksceCtrlSetAnalogEmulation parameters --- include/kernel/ctrl.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'include/kernel') diff --git a/include/kernel/ctrl.h b/include/kernel/ctrl.h index 13d2f62..1a553ef 100644 --- a/include/kernel/ctrl.h +++ b/include/kernel/ctrl.h @@ -240,23 +240,23 @@ int sceCtrlSetButtonEmulation(unsigned int port, unsigned char slot, * @param port Use 0 * @param slot The slot used to set the custom values. Between 0 - 3. If multiple slots are used, * their settings are combined. - * @param lX New emulated value for the left joystick's X-axis. Between 0 - 0xFF. - * @param lY New emulate value for the left joystick's Y-axis. Between 0 - 0xFF. - * @param rX New emulated value for the right joystick's X-axis. Between 0 - 0xFF. - * @param rY New emulate value for the right joystick's Y-axis. Between 0 - 0xFF. - * @param lT New emulated value for the left trigger (L2) Between 0 - 0xFF. - * @param rT New emulated value for the right trigger (R2) Between 0 - 0xFF. - * @param unk0 Unknown - * @param unk1 Unknown + * @param user_lX New emulated value for the left joystick's X-axis (userspace). Between 0 - 0xFF. + * @param user_lY New emulate value for the left joystick's Y-axis (userspace). Between 0 - 0xFF. + * @param user_rX New emulated value for the right joystick's X-axis (userspace). Between 0 - 0xFF. + * @param user_rY New emulate value for the right joystick's Y-axis (userspace). Between 0 - 0xFF. + * @param kernel_lX New emulated value for the left joystick's X-axis (kernelspace). Between 0 - 0xFF. + * @param kernel_lY New emulate value for the left joystick's Y-axis (kernelspace). Between 0 - 0xFF. + * @param kernel_rX New emulated value for the right joystick's X-axis (kernelspace). Between 0 - 0xFF. + * @param kernel_rY New emulate value for the right joystick's Y-axis (kernelspace). Between 0 - 0xFF. * @param uiMake Specifies the duration of the emulation. Meassured in sampling counts. * * @return 0 on success. */ int sceCtrlSetAnalogEmulation(unsigned int port, unsigned char slot, - unsigned char lX, unsigned char lY, - unsigned char rX, unsigned char rY, - unsigned char lT, unsigned char rT, - unsigned char unk0, unsigned char unk1, + unsigned char user_lX, unsigned char user_lY, + unsigned char user_rX, unsigned char user_rY, + unsigned char kernel_lX, unsigned char kernel_lY, + unsigned char kernel_rX, unsigned char kernel_rY, unsigned int uiMake); #ifdef __cplusplus -- cgit v1.2.3