Hi all,
I'm now modifying ds4vita, I want L2 to:
send R1+triangle, sleep/wait 2 seconds, send R1+square
So far I haven't been able to get it to work correctly.
1)
How to tell it to sleep/wait 2 seconds?
2)
The following lines will send triangle only, how to fix it?
key1 = SCE_CTRL_R1;
ksceCtrlSetButtonEmulation(0, 0, key1, key1, 1000000);
key1 = SCE_CTRL_TRIANGLE;
ksceCtrlSetButtonEmulation(0, 0, key1, key1, 1000000);
3)
According to vitasdk, uiMake in ksceCtrlSetButtonEmulation() is measured in sampling counts.
How to convert second to sampling count?
https://docs.vitasdk.org/group__SceCtrlKernel.html#ga228c34880869b12d0f256fb49782471d
Thanks in advance.
I'm now modifying ds4vita, I want L2 to:
send R1+triangle, sleep/wait 2 seconds, send R1+square
So far I haven't been able to get it to work correctly.
1)
How to tell it to sleep/wait 2 seconds?
2)
The following lines will send triangle only, how to fix it?
key1 = SCE_CTRL_R1;
ksceCtrlSetButtonEmulation(0, 0, key1, key1, 1000000);
key1 = SCE_CTRL_TRIANGLE;
ksceCtrlSetButtonEmulation(0, 0, key1, key1, 1000000);
3)
According to vitasdk, uiMake in ksceCtrlSetButtonEmulation() is measured in sampling counts.
How to convert second to sampling count?
https://docs.vitasdk.org/group__SceCtrlKernel.html#ga228c34880869b12d0f256fb49782471d
Thanks in advance.