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.32 Bug Reporting thread
    Solutions and more information may already be available.

Need help with getting my Logitech Rumblepad 2 USB to work

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Jake329, Oct 13, 2014.

  1. Jake329

    Jake329
    Expand Collapse

    Joined:
    Apr 6, 2013
    Messages:
    59
    Here is my code. I can't figure out how to deal with the %device section on lines 5-6 because if I comment it out it gives me an unknown device error and I don't know what to put in place of "gamepad". Any help is appreciated!
    Code:
    // Product Name: Logitech RumblePad 2 USB
    // GUID: {C218046D-0000-0000-0000-504944564944}
    // axes: 4^V^Z^Y^X
     
    //%device = "{C218046D-0000-0000-0000-504944564944}-" @ %joyNum;  (<- Guid goes there too)
    %device = "gamepad" @ %joyNum; //(<- device type goes there, joystick/gamepad)
     
    // 0 deadzone
    $gp_deadzone = "-0.15 0.15"; //(possible deadzone configure)
    
    
    // camera
    //moveMap.bind(%device, zaxis, "D", $gp_deadzone, gamepadYaw);
    //moveMap.bind(%device, rzaxis, "D", $gp_deadzone, gamepadPitch);
    // movement
    //moveMap.bind(%device, xaxis, joy_steer_nl_dz);
    //moveMap.bind(%device, thumbly, "D", $gp_deadzone, gamePadMoveY); // using triggers instead
    
    
    //moveMap.bind(%device, (axis name), "D", $gp_deadzone, joy_brake);
    //moveMap.bind(%device, (axis name), "D", $gp_deadzone, joy_accelerate);
    
    
    //moveMap.bindCmd(%device, (button name), "beamNGResetPhysics();", "");
    %mm.bind(%device, button7, accelerate);
    %mm.bind(%device, button2, parkingbrake);
    //moveMap.bindCmd(%device, (button name), "beamNGSwitchVehicle();", "");
    //moveMap.bindCmd(%device, (button name), "gamepadZoom(-0.1);", "gamepadZoom(0);");
    //moveMap.bindCmd(%device, (button name), "gamepadZoom(0.1);", "gamepadZoom(0);");
    //moveMap.bindCmd(%device, (button name), "beamNGResetCamera();", "");
    
    
    //moveMap.bindCmd(%device, (button name), "beamNGCameraToggle();", "");
    
    
    
     
    #1 Jake329, Oct 13, 2014
    Last edited: Oct 13, 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