Invert x axis left thumbstick

Gtuner Plugins support. MaxAim, MaxRemapper, Combo Magick, Game Rec.

Invert x axis left thumbstick

Postby LuukV » Sun Dec 09, 2018 6:42 pm

Hi all, I'm not totally new to the forum. A couple of years ago you've helped me a lot already. Now I'm looking for help again.
I've bougt a right handed controller from Evil controllers. It's a very nice controller but the only thing is the left thumbstick. I would like to invert the X axis from the left thumbstick with the help of MaxRemapper. "Invert X axis"

main {
set_val(PS4_LX, inv(get_val(11)));

When I've programmed the device it's not working. Is there something I'm doing wrong?

Thnx in advance
User avatar
LuukV
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Sat Sep 27, 2014 6:33 pm

Re: Invert x axis left thumbstick

Postby J2Kbr » Tue Dec 11, 2018 2:51 pm

The script worked for me:
Code: Select all
main {
    set_val(PS4_LX, inv(get_val(PS4_LX)));
}
 

However, in the code your posted was missing a }, perhaps was that the issue?
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Invert x axis left thumbstick

Postby LuukV » Wed Dec 12, 2018 8:24 pm

Wow, the code you gave me worked out! Thanks so much! Now I can use my right handed controller

Many thnx!
User avatar
LuukV
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Sat Sep 27, 2014 6:33 pm


Return to Gtuner Plugins Support

Who is online

Users browsing this forum: No registered users and 54 guests