Page 1 of 1

Invert x axis left thumbstick

PostPosted: Sun Dec 09, 2018 6:42 pm
by LuukV
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

Re: Invert x axis left thumbstick

PostPosted: Tue Dec 11, 2018 2:51 pm
by J2Kbr
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?

Re: Invert x axis left thumbstick

PostPosted: Wed Dec 12, 2018 8:24 pm
by LuukV
Wow, the code you gave me worked out! Thanks so much! Now I can use my right handed controller

Many thnx!