request script/help right ps4 Right analog stick

GPC1 script programming for Titan One. Code examples, questions, requests.

request script/help right ps4 Right analog stick

Postby badaim420 » Sun Apr 09, 2023 12:16 am

Normally I can figure out how to make scripts but this one I am having trouble trying to get this one right.

Ps4 controller
Function.

I'm trying to program when I hold R2 to shoot my aim sensitivity is reduced/controller input is locked to a certain number.
Once released goes back to normal speed.


Can anyone help with this please. I will figure out the locked speed with trail and error but not sure the right formatting
User avatar
badaim420
Private First Class
Private First Class
 
Posts: 2
Joined: Sat Apr 08, 2023 10:46 pm

Re: request script/help right ps4 Right analog stick

Postby Mad » Sun Apr 09, 2023 2:09 pm

https://www.consoletuner.com/kbase/i_o_ ... ensitivity
Code: Select all
define sens = 50;
 
main {
    if(get_val(PS4_R2)) {
        sensitivity(PS3_RX, NOT_USE, sens);
        sensitivity(PS4_RY, NOT_USE, sens);
    }
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: request script/help right ps4 Right analog stick

Postby badaim420 » Sat Apr 15, 2023 2:03 am

Sorry for the delay thank you so much this is perfect. I was way off in my coding
User avatar
badaim420
Private First Class
Private First Class
 
Posts: 2
Joined: Sat Apr 08, 2023 10:46 pm

Re: request script/help right ps4 Right analog stick

Postby Mad » Sat Apr 15, 2023 3:11 am

badaim420 wrote:Sorry for the delay thank you so much this is perfect. I was way off in my coding

No problem. :joia:
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am


Return to GPC1 Script Programming

Who is online

Users browsing this forum: Google [Bot] and 105 guests