Need help with programming

touru_04

Member
OP
Newcomer
Joined
Apr 16, 2022
Messages
18
Trophies
0
Age
24
Location
who knows
XP
108
Country
Antarctica
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://www.techradar.com/gaming/consoles-pc/ayns-new-gaming-handheld-looks-like-a-psp-and-it-mig...