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

Help inputmap problems

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by minion, Nov 29, 2014.

  1. minion

    minion
    Expand Collapse

    Joined:
    Apr 25, 2014
    Messages:
    26
    I`ve been working on this for hours and its just not working, what have I done wrong?

    // Product Name: Thrustmaster dual analog 3.2
    // GUID: {B315044F-0000-0000-0000-504944564944}
    // axes: 4^X^Y^RZ^slider


    // camera


    // movement
    moveMap.bind(%device, xaxis, joy_steer_nl_dz);


    //moveMap.bind(%device, +slider, "D", joy_brake);
    moveMap.bind(%device, -slider, "D", joy_accelerate);
    moveMap.bindCmd(%device, button9, "beamNGResetPhysics();", "");
    moveMap.bindCmd(%device, button10, "beamNGTogglePhysics();", "");
    moveMap.bindCmd(%device, button12, "beamNGToggleParkingBrake();", "");
    moveMap.bindCmd(%device, button2, "beamNGSwitchVehicle();", "");
    moveMap.bindCmd(%device, button6, "gamepadZoom(-0.1);", "gamepadZoom(0);");
    moveMap.bindCmd(%device, button8, "gamepadZoom(0.1);", "gamepadZoom(0);");
    moveMap.bindCmd(%device, button4, "beamNGResetCamera();", "");


    moveMap.bindCmd(%device, button3, "beamNGCameraToggle();", "");


    And the 3d log sais:




    23.386633| (unbinding...)
    23.386677| *** unbinding failed!
    23.386735| - Product Name: Thrustmaster dual analog 3.2
    23.386768| - Product ID: B315
    23.386799| - Vendor ID: 044F
    23.386830| - GUID: {B315044F-0000-0000-0000-504944564944}
    23.386886| - 17 objects: button0 (button), button1 (button), button2 (button), button3 (button), button4 (button), button5 (button), button6 (button), button7 (button), button8 (button), button9 (button), button10 (button), button11 (button), yaxis (axis), xaxis (axis), rzaxis (axis), slider (axis)
    23.387036| - trying to load keyboard mapping: scripts/client/inputmaps/custom/keyboard.inputmap.cs - file not existing
    23.387768|scripts/client/inputmaps/custom/b315044f.inputmap.cs (11): string always evaluates to 0.
    23.387821|Could not create a description for binding: -0
    23.387871| - trying to load mapping via VendorID/ProductID: scripts/client/inputmaps/custom/b315044f.inputmap.cs - SUCCESSFUL
    23.388010| - trying to load keyboard mapping: vehicles/pickup/inputmaps/keyboard.inputmap.cs - file not existing
    23.388122| - trying to load mapping via VendorID/ProductID: vehicles/pickup/inputmaps/b315044f.inputmap.cs - file not existing
    23.388240| - trying to load mapping via name: vehicles/pickup/inputmaps/thrustmasterdualanalog32.inputmap.cs - file not existing
    23.388282| *** loading input map DONE ***


    I'm tired of playing with the keyboard I hope someone can help.


    Thanks
     
  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