Accessible Script Requests for Disabled Users
Re: Accessible Script Requests for Disabled Users
Hello
I'm in need of a script that causes R1 to be fired if the left hand (R3) to fully directed to the left or right side for more than 0.3 seconds. I tried the script below,
but it did not work correctly. Can someone help?
thanks in advance
I'm in need of a script that causes R1 to be fired if the left hand (R3) to fully directed to the left or right side for more than 0.3 seconds. I tried the script below,
- Code: Select all
main {
if((get_val(PS3_LX) <= -100) && press_ptime(PS3_LX) >= 300){
set_val(PS3_R1, 100);
}
if((get_val(PS3_LX) >= 100) && press_ptime(PS3_LX) >= 300){
set_val(PS3_R1, 100);
}
}
but it did not work correctly. Can someone help?
thanks in advance

-
cdanv - Master Sergeant
- Posts: 29
- Joined: Thu Aug 20, 2015 5:05 am
Re: Accessible Script Requests for Disabled Users
cdanv wrote:but it did not work correctly. Can someone help?
Definitively, this should do the trick.

- Code: Select all
int time_counter;
main {
if(abs(get_val(PS3_LX)) > 95) {
if(time_counter >= 300) {
set_val(PS3_R1, 100);
} else {
time_counter = time_counter + get_rtime();
}
} else {
time_counter = 0;
}
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Accessible Script Requests for Disabled Users
J2Kbr wrote:cdanv wrote:but it did not work correctly. Can someone help?
Definitively, this should do the trick.![]()
- Code: Select all
int time_counter;
main {
if(abs(get_val(PS3_LX)) > 95) {
if(time_counter >= 300) {
set_val(PS3_R1, 100);
} else {
time_counter = time_counter + get_rtime();
}
} else {
time_counter = 0;
}
}
Cabei de fazer o teste deste script e está funcionando PERFEITAMENTE

-
cdanv - Master Sergeant
- Posts: 29
- Joined: Thu Aug 20, 2015 5:05 am
Re: Accessible Script Requests for Disabled Users
cdanv wrote:Cabei de fazer o teste deste script e está funcionando PERFEITAMENTEMuito obrigado novamente caro J2Kbr!


ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Accessible Script Requests for Disabled Users
Hello, good afternoon.
I need a script that executes a combo (X button and L3 to the right) when I slide my finger on the Touch to the right and the combo (button X and L3 to the left) when I slide my finger on the Touch to the left.
It's an accessibility issue.
I thank you in advance for any help.
I need a script that executes a combo (X button and L3 to the right) when I slide my finger on the Touch to the right and the combo (button X and L3 to the left) when I slide my finger on the Touch to the left.
It's an accessibility issue.
I thank you in advance for any help.
-
cdanv - Master Sergeant
- Posts: 29
- Joined: Thu Aug 20, 2015 5:05 am
Re: Accessible Script Requests for Disabled Users
Morning,
My daughter is using the Xbox adaptive controller along with a feather light joystick & 3 switches. She has asked if it’s possible to have a function whereby the left and right analog sticks are switched by her pressing the X button 3 times. I’ve just read the post from Barrie showing it being done by pressing the menu button but wasn’t sure if this way could be done.
Many thanks
My daughter is using the Xbox adaptive controller along with a feather light joystick & 3 switches. She has asked if it’s possible to have a function whereby the left and right analog sticks are switched by her pressing the X button 3 times. I’ve just read the post from Barrie showing it being done by pressing the menu button but wasn’t sure if this way could be done.
Many thanks
-
WonkeyDonkey - Corporal
- Posts: 4
- Joined: Thu Mar 16, 2023 8:19 am
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 28 guests