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.

My gamepad is not working

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by rodpokerface, Jul 11, 2014.

  1. rodpokerface

    rodpokerface
    Expand Collapse

    Joined:
    Dec 12, 2013
    Messages:
    2
    I have a generic ps2 controller, it work with most of my games, i already tried to configure my input map, but it wont work

    Here its what in my torque3d file, i already created a custom folder with a 00060079.inputmap.cs inside and configured my controls, but it wont work.
    23.675186|*** gamepad0 ***
    23.675232| (unbinding...)
    23.675277| *** unbinding failed!
    23.675341| - Product Name: USB Network Joystick
    23.675446| - Product ID: 0006
    23.675492| - Vendor ID: 0079
    23.675537| - GUID: {00060079-0000-0000-0000-504944564944}
    23.675604| - 17 objects: rzaxis (axis), zaxis (axis), yaxis (axis), xaxis (axis), button0 (button), button1 (button), button2 (button), button3 (button), button4 (button), button5 (button), button6 (button), button7 (button), button8 (button), button9 (button), button10 (button), button11 (button)
    23.675701| - trying to load keyboard mapping: scripts/client/inputmaps/custom/keyboard.inputmap.cs - file not existing
    23.676461| - trying to load mapping via VendorID/ProductID: scripts/client/inputmaps/custom/00060079.inputmap.cs - SUCCESSFUL
    23.676561| - trying to load keyboard mapping: vehicles/pickup/inputmaps/keyboard.inputmap.cs - file not existing
    23.676648| - trying to load mapping via VendorID/ProductID: vehicles/pickup/inputmaps/00060079.inputmap.cs - file not existing
    23.676737| - trying to load mapping via name: vehicles/pickup/inputmaps/usbnetworkjoystick.inputmap.cs - file not existing
    23.676795| *** loading input map DONE ***


    And here is my 00060079.inputmap.cs file if you guys know what to do with it

    // Product Name: USB Network Joystick
    // GUID: {00060079-0000-0000-0000-504944564944}
    // axes: 4^R^A^Z^Y

    //%device = "{00060079-0000-0000-0000-504944564944}-" @ %joyNum; (<- Guid goes there too)
    %device = "gamepad" @ %joyNum; (<- device type goes there, joystick/gamepad)

    // 0 deadzone
    $gp_deadzone = "-0.35 0.35"; (possible deadzone configure)


    // camera
    moveMap.bind(%device, (axis name), "D", $gp_deadzone, gamepadYaw);
    moveMap.bind(%device, (axis name), "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, zaxis, "D", $gp_deadzone, joy_brake);
    moveMap.bind(%device, raxis, "D", $gp_deadzone, joy_accelerate);


    moveMap.bindCmd(%device, button8 "beamNGResetPhysics();", "");
    moveMap.bindCmd(%device, button10, "beamNGTogglePhysics();", "");
    moveMap.bindCmd(%device, button4, "beamNGToggleParkingBrake();", "");
    moveMap.bindCmd(%device, button9, "beamNGSwitchVehicle();", "");
    moveMap.bindCmd(%device, button7, "gamepadZoom(-0.1);", "gamepadZoom(0);");
    moveMap.bindCmd(%device, button5, "gamepadZoom(0.1);", "gamepadZoom(0);");
    moveMap.bindCmd(%device, button6, "beamNGResetCamera();", "");


    moveMap.bindCmd(%device, button3, "beamNGCameraToggle();", "");
     
  2. rt389g@hotmail.c

    rt389g@hotmail.c
    Expand Collapse

    Joined:
    Jun 9, 2014
    Messages:
    111
    Well, I could be wrong, but I dont think the lines:


    (<- device type goes there, joystick/gamepad)


    (possible deadzone configure)

    should be in your input file.
     
  3. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,958
    they should
     
  4. rt389g@hotmail.c

    rt389g@hotmail.c
    Expand Collapse

    Joined:
    Jun 9, 2014
    Messages:
    111
    Well they are not in my input file, and I have seen others with them not in there. In fact, if I remember correctly my input file did not work until I took them out. If it works for you, use it. It did not for me. I am sure you have been doing this stuff for longer than I, but it is a fact my file does not have the lines in it.
     
  5. rodpokerface

    rodpokerface
    Expand Collapse

    Joined:
    Dec 12, 2013
    Messages:
    2
    still now working.. i fixed the inputmap file, it was missing a ",", but it still not working.
     
  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