Need a help

GPC script programming for Titan One device. Code examples, how to, questions, requests.

Moderators: The_Rabid_Taco, pablosscripts, bonefisher, Baby Cham, Elvish

Need a help

Postby MaxPayne » Sun Sep 08, 2019 8:50 pm

Hi!

I have hooked this up to my XBox One and it properly sees the wheel the buttons. I was able to remap the buttons correctly, but my pedals are constantly showing a 100% input.

When I press the pedals they go down to -100%. Is there a specific script to run to fix this? I'm sorry I am not too familiar with the programming code.

Thanks.
User avatar
MaxPayne
Private
Private
 
Posts: 1
Joined: Sun Sep 08, 2019 8:32 pm

Re: Need a help

Postby J2Kbr » Mon Sep 09, 2019 10:59 am

Assuming the pedals are mapped to RT and LT, this script will fix this behavior:
Code: Select all
main {
    set_val(XB1_RT, inv(get_val(XB1_RT) - 100));
    set_val(XB1_LT, inv(get_val(XB1_LT) - 100));
}
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 17648
Joined: Tue Mar 18, 2014 1:39 pm


Return to GPC Script Programming (Titan One)

Who is online

Users browsing this forum: No registered users and 7 guests