1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

Old Xbox 360 input map

Discussion in 'General Discussion' started by ProTraX, Jun 23, 2014.

  1. ProTraX

    ProTraX
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    56
    Heyho.
    I'm searching the old Xbox 360 input map from before the pre race update.
    The new input map is kinda messed up, most commands can only be used with a keyboard, as example i can't reset the car with my controller anymore.
    If someone could please update the old original xbox input map for me and everyone else who is searching it, that would be really awesome!

    Thanks
     
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,698
    I have a copy. Adapt it to your needs.

    Code:
    // Product Name: Controller (Xbox 360 Wireless Receiver for Windows)
    // GUID: {02A1045E-0000-0000-0000-504944564944}
    // axes: 5^Y^X^U^R^Z
     
    // 15% deadzone for the camera things
    $gp_deadzone = "-0.15 0.15";
    
    // camera
    %mm.bind(%device, thumbrx, "D", $gp_deadzone, gamepadYaw);
    %mm.bind(%device, thumbry, "D", $gp_deadzone, gamepadPitch);
    
    // movement : deadzones and such are in lua for these
    %mm.bind(%device, thumblx, "D", $gp_deadzone, steer);
    
    %mm.bind(%device, triggerl, "D", $gp_deadzone, brake);
    %mm.bind(%device, triggerr, "D", $gp_deadzone, accelerate);
    
    %mm.bind(%device, btn_l, clutch );
    %mm.bind(%device, btn_a, shiftUp);
    %mm.bind(%device, btn_x, shiftDown);
    
    %mm.bindCmd(%device, dpadd, "beamNGResetPhysics();", "");
    %mm.bindCmd(%device, dpadr, "beamNGTogglePhysics();", "");
    %mm.bind(%device, btn_r, parkingbrake_toggle);
    %mm.bindCmd(%device, lpov, "beamNGSwitchVehicle();", "");
    %mm.bindCmd(%device, btn_y, "gamepadZoom(-0.1);", "gamepadZoom(0);");
    %mm.bindCmd(%device, btn_b, "gamepadZoom(0.1);", "gamepadZoom(0);");
    %mm.bindCmd(%device, btn_rt, "beamNGResetCamera();", "");
    
    %mm.bindCmd(%device, btn_back, "beamNGCameraToggle();", "");
    //%mm.bind(%device, btn_back, beamNGControl);
    //%mm.bind(%device, btn_x, toggleFirstPerson);
    
    It's the same for WIRED and WIRELESS, but you need to change the GUID to match the one you use. Not really sure if that still works, haven't tried. Let us know :)
     
  3. ProTraX

    ProTraX
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    56
    Thanks man, works!
     
  4. CoffeeCrazy

    CoffeeCrazy
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    77
    Didn't want to make a new thread over such a simple question. How do you invert part of the command?

    "%mm.bind(%device, thumbry, "D", $gp_deadzone, gamepadPitch);"

    That part works, but I want it inverted (So the camera works more like GTA, which I'm used to).

    Thanks for your help!

    EDIT: Nevermind, It's "DI". I somehow remembered.
     
    #4 CoffeeCrazy, Jun 24, 2014
    Last edited: Jun 24, 2014
  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