Page 3 of 6

Re: Crash course on using the Input Translator

PostPosted: Fri Oct 20, 2017 1:01 pm
by J2Kbr
kenshin80012 wrote:is there any plans to add checkboxes under input translators for negative values? my controllers Dpad is being read as the Analog but I want to swap that and have it read as the Dpad without having to use both script and input translator

Currently no plans for this. You can invert the input with a simple script. If you want see an example, please let me know what is the input you need to invert. thanks.

Re: Crash course on using the Input Translator

PostPosted: Sat Oct 21, 2017 2:20 am
by kenshin80012
I need the left analog stick swapped with the Dpad, so the negative values would be Up and Left i believe

Re: Crash course on using the Input Translator

PostPosted: Wed Oct 25, 2017 12:24 pm
by J2Kbr
This will swap the left analog with dpad.
Code: Select all
main {
    set_val(STICK_2_Y, 0.0);
    set_val(STICK_2_X, 0.0);
    set_val(BUTTON_10, 0.0);
    set_val(BUTTON_11, 0.0);
    set_val(BUTTON_12, 0.0);
    set_val(BUTTON_13, 0.0);
 
    if(get_actual(STICK_2_Y) < -30.0) {
        set_val(BUTTON_10, 100.0);
    } else if(get_actual(STICK_2_Y) > 30.0) {
        set_val(BUTTON_11, 100.0);
    }   
    if(get_actual(STICK_2_X) < -30.0) {
        set_val(BUTTON_12, 100.0);
    }
    if(get_actual(STICK_2_X) > 30.0) {
        set_val(BUTTON_13, 100.0);
    }
 
    if(get_actual(BUTTON_10)) {
        set_val(STICK_2_Y, -100.0);
    }
    if(get_actual(BUTTON_11)) {
        set_val(STICK_2_Y, 100.0);
    }
    if(get_actual(BUTTON_12)) {
        set_val(STICK_2_X, -100.0);
    }
    if(get_actual(BUTTON_13)) {
        set_val(STICK_2_X, 100.0);
    }
}

Re: Crash course on using the Input Translator

PostPosted: Tue Nov 14, 2017 1:25 am
by Chocolate Misu
I've been waiting for the public release so I haven't gotten to try using the program yet, although I have downloaded it and having been looking through it.

All I want to do is invert BOTH the X and Y axis on the right analog sticks on my controllers (for inverted camera control). Is it correct to assume that I should change the button mapping from Stick_2_X to Stick_2_Y and Stick_2_Y to Stick_2_X?


Wait, as soon as I typed that it didn't sound right. How can I invert the axis? Is it the Point 1 and Point 2 settings?

Re: Crash course on using the Input Translator

PostPosted: Tue Nov 14, 2017 6:56 am
by J2Kbr
to invert the aiming up/down a simple script is needed:
Code: Select all
main {
    set_val(STICK_1_Y, inv(get_val(STICK_1_Y)));
}

Re: Crash course on using the Input Translator

PostPosted: Mon Oct 08, 2018 6:37 am
by DarrellSalas
Hey, this idea of virtual controllers is really interesting.

Re: Crash course on using the Input Translator

PostPosted: Thu Nov 07, 2019 5:00 am
by Max10
Good afternoon, there is a more extended instruction for using Re: An accelerated course on using Input Translator, with full settings (for example, how to set up a graph of mouse sensitivity) and other elements

Re: Crash course on using the Input Translator

PostPosted: Wed Nov 13, 2019 2:59 pm
by J2Kbr
Max10 wrote:Good afternoon, there is a more extended instruction for using Re: An accelerated course on using Input Translator, with full settings (for example, how to set up a graph of mouse sensitivity) and other elements

unfortunately not yet. For what game you are looking for? maybe I can help with the conversion curve.

Re: Crash course on using the Input Translator

PostPosted: Fri Nov 15, 2019 5:05 am
by Max10
J2Kbr wrote:
Max10 wrote:Good afternoon, there is a more extended instruction for using Re: An accelerated course on using Input Translator, with full settings (for example, how to set up a graph of mouse sensitivity) and other elements

unfortunately not yet. For what game you are looking for? maybe I can help with the conversion curve.

Good afternoon, I’m looking for Uncharted 4 multiplayer, if you can really appreciate it, I want to add these settings for the mouse and keyboard to Uncharted Modpack (prototype) for more accurate shooting and movement.

Re: Crash course on using the Input Translator

PostPosted: Fri Nov 15, 2019 5:34 pm
by J2Kbr
While back I spent almost one week on Uncharted 4 mouse settings. Not really satisfied with the results (specially when not aiming), ended not publishing the Input Translator. The aiming mechanics on this game does not favor mouse input in anyway.

If you are interested, here is where I stopped:
Code: Select all
GIVMXYF:0705000168000017EB17EB009F000003EB07D70C8C10781463184F1B731F5E234A27352B232E453233361E3A0A3D2E4119443A48284C1405000135002B0F4A0E800037000015F51F5E25A32A592F0F32FA361E39403B9C3EBD4119437345CC482849B84C144DA35000519154B3