Invert analog stick

Any discussion that is not related to other forums goes here.

Invert analog stick

Postby Chalila » Mon Mar 08, 2021 2:17 am

I’m brand new to this, so apologies of I’m not using the right terminology.

I’m looking for a way to invert the right analog stick on my controller. I want to play RDR2 on PS5 but the settings don’t allow to invert x-axis, so I’m unable to play. I know the C-Zen (censored?) allows you to invert x and y axis, and I assume Titan Two (and maybe Titan One?) does too, but they seem like overkill for the one task I need them for. Are there any alternatives that are cheaper and more simplistic?

Better yet, is there a script (?) that inverts x and y exclusively for camera movement? I’ll still need the right analog stick for certain menus, so it would be nice for that to not be inverted as well. (But if not, I think that’s still a lot easier to get used to than the camera movement.)

Layman’s terms, please. Assume I know nothing.

Thank you for taking the time to read!
User avatar
Chalila
Private
Private
 
Posts: 1
Joined: Mon Mar 08, 2021 2:04 am

Re: Invert analog stick

Postby Mad » Tue Mar 09, 2021 6:14 am

Welcome,

Yes this is possible, here is a rough example what it would look like:
Code: Select all
main {
    if(get_actual(STICK_1_Y) > 0.0) {
        set_val(STICK_1_Y, inv(get_actual(STICK_1_Y)));
    }
    else set_val(STICK_1_Y, abs(get_actual(STICK_1_Y)));
 
    if(get_actual(STICK_1_X) > 0.0) {
        set_val(STICK_1_X, inv(get_actual(STICK_1_X)));
    }
    else set_val(STICK_1_X, abs(get_actual(STICK_1_X)));
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4532
Joined: Wed May 22, 2019 5:39 am


Return to Off Topic Discussion

Who is online

Users browsing this forum: No registered users and 44 guests