1. Trouble with the game?
    Try the troubleshooter!

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

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Gamepad not detected.

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by konabiker, Sep 25, 2014.

  1. konabiker

    konabiker
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    3
    Hey,
    I have created an inputmap for my Saitek P2500 Rumble. The game loads the file correctly.
    But the gamepad won't work.
    beamngGamepadError.jpg
    I think its because of the first line "no joysticks or gampads detected". And then it calls the gamepad unknown0.
    Is there a fix for that?

    Here is my inputmap:
    Code:
    // Product Name: Cyborg Force Rumble Pad
    // GUID: {FF0C06A3-0000-0000-0000-504944564944}
    // axes: 4^xaxis^yaxis^rzaxis^slider
    
    
    // 15% deadzone
    $gp_deadzone = "-0.15 0.15";
    
    
    
    
    %device = "gamepad" @ %joyNum;
    
    
    // camera
    moveMap.bind(%device, rzaxis, "D", $gp_deadzone, gamepadYaw);
    moveMap.bind(%device, slider, "D", $gp_deadzone, gamepadPitch);
    
    
    // movement : deadzones and such are in lua for these
    moveMap.bind(%device, xaxis, "D", $gp_deadzone, joy_steer);
    
    
    moveMap.bind(%device, yaxis, "D", $gp_deadzone, brake);
    moveMap.bind(%device, yaxis, "D", $gp_deadzone, accelerate);
    
    
    moveMap.bind(%device, button6, clutch );
    moveMap.bind(%device, upov, shiftUp);
    moveMap.bind(%device, dpov, shiftDown);
    
    
    moveMap.bindCmd(%device, button0, "beamNGResetPhysics();", "");
    moveMap.bindCmd(%device, button1, "beamNGTogglePhysics();", "");
    moveMap.bind(%device, button7, parkingbrake_toggle);
    moveMap.bindCmd(%device, button3, "beamNGSwitchVehicle();", "");
    moveMap.bindCmd(%device, button4, "gamepadZoom(-0.1);", "gamepadZoom(0);");
    moveMap.bindCmd(%device, button5, "gamepadZoom(0.1);", "gamepadZoom(0);");
    moveMap.bindCmd(%device, button2, "beamNGResetCamera();", "");
    
    
    moveMap.bindCmd(%device, button11, "beamNGCameraToggle();", "");
    //moveMap.bind(%device, btn_back, beamNGControl);
    //moveMap.bind(%device, btn_x, toggleFirstPerson);
    
    
    
    
    echo("Inputmap should now be loaded");
    
    Edit:
    The gamepad itself works and is even recognized by the game in the input test in the menu.
     
    #1 konabiker, Sep 25, 2014
    Last edited: Oct 4, 2014
  2. konabiker

    konabiker
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    3
  3. NaxNir

    NaxNir
    Expand Collapse

    Joined:
    Jan 28, 2014
    Messages:
    618
    what's the filename and location of the input-map?
     
  4. konabiker

    konabiker
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    3
    Hey,
    sorry that I reply so late.
    The File "ff0c06a3.inputmap.cs" is located at "BeamNG.drive\scripts\client\inputmaps\custom".
    And in the console you can see that it loads that exact script.

    Hope that helps..
     
  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