Thrustmaster TX 458 RACING WHEEL mapping

Discussion in 'Programming' started by eXistenZ [FR], Dec 24, 2014.

  1. eXistenZ [FR]

    eXistenZ [FR]
    Expand Collapse

    Joined:
    Dec 18, 2014
    Messages:
    2
    Hi Drivers!

    I just bought the game today and...

    I would show you my mapping for my Thrustmaster TX 458 Racing Wheel Xbox One / PC.

    Code:
    // Product Name: Thrustmaster TX F458
    
    %mm.bind(%device, xaxis, steer_direct);
    %mm.bind(%device, yaxis,"I", brake_direct);
    %mm.bind(%device, rzaxis, "I", accelerate_direct);
    %mm.bind(%device, slider, "", clutch_direct);
    
    // additional-mapping
    // numbers based on thrustmaster control panel
    
    // 4
    %mm.bind(%device, button3, parkingbrake_toggle);
    // 5 
    %mm.bindCmd(%device, button4, "beamNGCameraToggle();", "");
    // 3
    %mm.bindCmd(%device,button2, "beamNGResetPhysics();", "");
    // 10
    %mm.bindVLuaCmd(%device,button9,  "electrics.toggle_left_signal()", "");
    // 9
    %mm.bindVLuaCmd(%device,button8,  "electrics.toggle_right_signal()", "");
    // 6
    %mm.bindVLuaCmd(%device,button5,  "electrics.toggle_warn_signal()", "");
    // 11
    %mm.bindVLuaCmd(%device,button10, "electrics.toggle_lights()", "");
    // paddle - left 1
    %mm.bind(%device, button0, shiftDown);
    // paddle - right 2 
    %mm.bind(%device, button1, shiftUp);
    // 7
    // = button6   make yours
    // 8
    // = button7   make yours 
    // dpad left
    %mm.bindVLuaCmd(%device, dpadl    , "electrics.toggle_left_signal()", "");
    // dpad right
    %mm.bindVLuaCmd(%device, dpadr    , "electrics.toggle_right_signal()", "");
    // dpad up
    %mm.bindVLuaCmd(%device, dpadu    , "electrics.toggle_lights()", "");
    // dpad down
    %mm.bindVLuaCmd(%device, dpadd    , "electrics.toggle_warn_signal()", "");
    // 12
    // = button11
    %mm.bind(%device, button12, toggleShifterMode );
    
    // to make your binds look in the file keyboard.inputmap.cs 
    
    echo("TX F458 mapping loaded");
    
    

    To install it look for b669044f.inputmap.cs in X:\SteamLibrary\SteamApps\common\BeamNG.drive\scripts\client\inputmaps
    Then copy-paste the additional mapping, you can modify it as you want.

    I hope it could help someone

    Merry Christmas
     
    #1 eXistenZ [FR], Dec 24, 2014
    Last edited: Dec 24, 2014
  2. frostmaster21

    frostmaster21
    Expand Collapse

    Joined:
    Jan 5, 2014
    Messages:
    63
    no force feedback though? my birthday is tomorrow and i am getting one
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice