N64 Sensitivity

Gtuner Pro general support. Operation, questions, updates, feature request.

N64 Sensitivity

Postby konstrictorcod3r » Sat Feb 02, 2019 9:13 pm

Hello. I am using the Titan One to use a N64 Controller on my switch (via N64 to USB adaptor). I started by using MaxAim to set the controls to what I like, and it worked great! However, when I tried to code it directly onto the Titan One, the "left" stick only went to 50% and wouldn't register. I have tried other sensitivity codes and they haven't worked. Please help!
User avatar
konstrictorcod3r
Private First Class
Private First Class
 
Posts: 2
Joined: Sat Feb 02, 2019 9:05 pm

Re: N64 Sensitivity

Postby J2Kbr » Mon Feb 04, 2019 12:28 pm

Welcome to our forums, please post the script code here so we can check what is causing this behavior. Thank you.
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: N64 Sensitivity

Postby Bananacool8 » Thu Mar 07, 2019 9:18 pm

I assume you're using the Mayflash N64 -> USB adapter because I had the same problem. Here's a script I wrote for the Titan Two so that the stick would be properly calibrated and the button layout was the way I wanted it for the Nintendo Switch. I've never owned a Titan One, so i'm not really sure what the exact syntax would be for you.

Code: Select all
 
#pragma METAINFO("N64_Ultimate", 1, 0, "Steve_Ellison")
#define STICK2_ADJUST 1.55
 
init {
    // Swap the A/B buttons to the correct buttons
    remapper_swap(BUTTON_15, BUTTON_16);
 
    // Swap the C-Buttons to the correct axes
    remapper_swap(STICK_1_X, STICK_1_Y);
 
    // Assign the L Bumper to the Z-Button
    remapper_swap(BUTTON_2, BUTTON_7);
 
    // Disable combos for the D-Pad (Buttons 19/20 are empty on the switch,
    // so those combos are still there technically)
    remapper_disable(BUTTON_1);
    remapper_disable(BUTTON_18);
}
 
main {
    // Correct the calibration on the joystick X axis
    calibrateAxis(STICK_2_X);
 
    // Correct the calibration on the joystick Y axis
    calibrateAxis(STICK_2_Y);
 
    // Flip the X axis on the C-stick to the correct directions
    set_val(STICK_1_X, -get_actual(STICK_1_X));
}
 
void calibrateAxis(int axis)
{
    if (get_actual(axis) * STICK2_ADJUST <= -99.00) {
        set_val(axis, -100.00);
    }
    else if (get_actual(axis) * STICK2_ADJUST >= 99.00) {
        set_val(axis, 100.00);
    }
    else {
        set_val(axis, get_actual(axis) * STICK2_ADJUST);
    }
 
    return;
}
 
User avatar
Bananacool8
Corporal
Corporal
 
Posts: 4
Joined: Tue Feb 05, 2019 7:20 pm

Re: N64 Sensitivity

Postby J2Kbr » Fri Mar 08, 2019 10:25 am

Thank you Bananacool8c for helping on this topic.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to Gtuner Pro Support

Who is online

Users browsing this forum: No registered users and 56 guests

cron