I need help with writing a linking script
2 posts
• Page 1 of 1
I need help with writing a linking script
I'm new to GPC and help to write a script + linking them
I'm using the Titan 1 to allow me to use a PS4 Controller on XBOX ONE X
I want to link the following scripts ->
Can you make the script work without needing to reauthorize ?[/b]
Below is a script allowing you to swipe the left and right PS4 Touchpad as the XBOX1 VIEW/menu buttons
And THIS SCRIPT ->
PLEASE help me!
I'm using the Titan 1 to allow me to use a PS4 Controller on XBOX ONE X
I want to link the following scripts ->
Can you make the script work without needing to reauthorize ?[/b]
Below is a script allowing you to swipe the left and right PS4 Touchpad as the XBOX1 VIEW/menu buttons
- Code: Select all
//-------THIS SECTION IS FOR WHEN USING DUAL SHOCK 4 ON ANY SYSTEM------//
if (get_console() != PIO_PS4 && get_controller() == PIO_PS4) { //
if (get_val(PS4_TOUCHX) < 0 && get_val(27)) { //
block (27,500); //
set_val(1,100); //
} //
if (get_val(PS4_TOUCHX) > 0 && get_val(27)) { //
block (27,500); //
set_val(2,100); //
} //
}
And THIS SCRIPT ->
- Code: Select all
remap XB1_LB -> PS4_R1;
remap XB1_RB -> PS4_R2;
remap XB1_RT -> PS4_L1;
main {
}
PLEASE help me!
-
vivekg - Staff Sergeant
- Posts: 11
- Joined: Sun Feb 17, 2019 6:32 pm
Re: I need help with writing a linking script
Welcome to our forums.
Scripts combined into one:
Scripts combined into one:
- Code: Select all
remap XB1_LB -> PS4_R1;
remap XB1_RB -> PS4_R2;
remap XB1_RT -> PS4_L1;
main {
//-------THIS SECTION IS FOR WHEN USING DUAL SHOCK 4 ON ANY SYSTEM------//
if (get_console() != PIO_PS4 && get_controller() == PIO_PS4) { //
if (get_val(PS4_TOUCHX) < 0 && get_val(27)) { //
block (27,500); //
set_val(1,100); //
} //
if (get_val(PS4_TOUCHX) > 0 && get_val(27)) { //
block (27,500); //
set_val(2,100); //
} //
}
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 118 guests