Crash course on using the Input Translator

Tutorials, How-tos and FAQs for the Titan Two device.

Re: Crash course on using the Input Translator

Postby J2Kbr » Fri Oct 20, 2017 1:01 pm

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.
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: Crash course on using the Input Translator

Postby kenshin80012 » Sat Oct 21, 2017 2:20 am

I need the left analog stick swapped with the Dpad, so the negative values would be Up and Left i believe
User avatar
kenshin80012
Command Sergeant Major
Command Sergeant Major
 
Posts: 148
Joined: Mon Apr 18, 2016 3:48 pm

Re: Crash course on using the Input Translator

Postby J2Kbr » Wed Oct 25, 2017 12:24 pm

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);
    }
}
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: Crash course on using the Input Translator

Postby Chocolate Misu » Tue Nov 14, 2017 1:25 am

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?
User avatar
Chocolate Misu
Sergeant
Sergeant
 
Posts: 9
Joined: Sat Jan 14, 2017 1:52 am

Re: Crash course on using the Input Translator

Postby J2Kbr » Tue Nov 14, 2017 6:56 am

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)));
}
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: Crash course on using the Input Translator

Postby DarrellSalas » Mon Oct 08, 2018 6:37 am

Hey, this idea of virtual controllers is really interesting.
DarrellSalas
Private
Private
 
Posts: 1
Joined: Mon Oct 08, 2018 6:32 am

Re: Crash course on using the Input Translator

Postby Max10 » Thu Nov 07, 2019 5:00 am

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
User avatar
Max10
Captain
Captain
 
Posts: 506
Joined: Wed Apr 03, 2019 6:04 am

Re: Crash course on using the Input Translator

Postby J2Kbr » Wed Nov 13, 2019 2:59 pm

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.
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: Crash course on using the Input Translator

Postby Max10 » Fri Nov 15, 2019 5:05 am

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.
User avatar
Max10
Captain
Captain
 
Posts: 506
Joined: Wed Apr 03, 2019 6:04 am

Re: Crash course on using the Input Translator

Postby J2Kbr » Fri Nov 15, 2019 5:34 pm

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
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

PreviousNext

Return to Tutorials and FAQs

Who is online

Users browsing this forum: No registered users and 32 guests