summaryrefslogtreecommitdiff
path: root/include/kernel
diff options
context:
space:
mode:
authorSergi Granell2017-01-01 11:30:51 +0100
committerSergi Granell2017-01-01 11:30:51 +0100
commitb1fe8e8e2dadd1c21ed6ec7107138ed661bac48d (patch)
tree80f035efb9ece482e2cb777696b762d56516fcea /include/kernel
parentAdd more SceCtrlForDriver NIDs and kernel ctrl.h (diff)
downloadvds-libraries-b1fe8e8e2dadd1c21ed6ec7107138ed661bac48d.tar.gz
Fix ksceCtrlSetAnalogEmulation args
Diffstat (limited to 'include/kernel')
-rw-r--r--include/kernel/ctrl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/kernel/ctrl.h b/include/kernel/ctrl.h
index b10d3fc..13d2f62 100644
--- a/include/kernel/ctrl.h
+++ b/include/kernel/ctrl.h
@@ -244,10 +244,10 @@ int sceCtrlSetButtonEmulation(unsigned int port, unsigned char slot,
* @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 unk0 Unknown
- * @param unk1 Unknown
* @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 uiMake Specifies the duration of the emulation. Meassured in sampling counts.
*
* @return 0 on success.
@@ -255,8 +255,9 @@ int sceCtrlSetButtonEmulation(unsigned int port, unsigned char slot,
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 lT, unsigned char rT);
+ unsigned int uiMake);
#ifdef __cplusplus
}