[Nintendont] Is it possible to invert the Y-Axis from both Analog Sticks of an USB-HID controller?

Discussion in 'Wii - Hacking' started by Frollo, Aug 20, 2016.

  1. Frollo
    OP

    Frollo Newbie

    Newcomer
    3
    0
    Aug 18, 2016
    Gambia, The
    I nearly managed to make my PS2 to USB Converter work. But for some reason, both Y-Axis are inverted. Is there a way to fix that?

    The reason I'm using the USB Port instead of the GC one is because I play Smash with customized Button Mappings.

    Also, the Analog Sticks react very strongly. Can that be normalized?

    Code:
    [PSX to USB]
    VID=0E8F
    PID=103F
    Polltype=1
    DPAD=1
    Power=2,20
    A=4,FF
    B=6,FF
    X=9,FF
    Y=8,FF
    Z=B,FF
    L=A,FF
    R=7,FF
    S=2,10
    Left=2,04
    Down=2,02
    Right=2,08
    Up=2,01
    RightUp=2,09
    DownRight=2,0A
    DownLeft=2,06
    UpLeft=2,05
    StickX=C
    StickY=F
    CStickX=10
    CStickY=13
    LAnalog=0
    RAnalog=0
    
    The values from all sticks are 00 and FF.
     
  2. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,746
    9,030
    Oct 27, 2002
    France
    Engine room, learning
    I think there's a way to set the analog sensitivity, or range.
    but I don't know if you can invert the axis without rebuilding nintendont.

    you can check the other controller.ini to get an idea how to setup the sensitivity/range, I guess you add ",0,100" to your stick values

    there's already a PS2 controller.ini available, it doesn't work with your adapter?
    https://github.com/FIX94/Nintendont/blob/master/controllerconfigs/controller_ps2.ini
    I guess not as it's not using the same values.
     
  3. Frollo
    OP

    Frollo Newbie

    Newcomer
    3
    0
    Aug 18, 2016
    Gambia, The
    That didn't work :-(

    But it's not that big of an issue.

    Do you know how to do it with rebuilding it? Is it very complicated?

    I use Ubuntu 16.04
     
  4. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,746
    9,030
    Oct 27, 2002
    France
    Engine room, learning
    I didn't do it for a long time, but you'll need devkitpro and devkitPPC, maybe some libraries too.
    then the inverted axis would need to edit the hid and/or controller functions.

    sorry, I'm not more precise. You should ask in the main thread if there's a way to invert the axis, or how to edit/recompile with inverted axis.