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

Inputmap file trouble?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by bjytech, Aug 4, 2013.

  1. bjytech

    bjytech
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    6
    I'm trying to get my gamepad working and I thought I finally got everything in order in the new inputmap file for my controller but when I go ingame no buttons do anything so I'm not sure what I'm doing wrong.
    Attached is my inputmap file and bellow is the readout from the torque3d.log concerning the gamepad I'm trying to use. Any help is greatly appreciated! I've spent the last hour or two trying to get this thing working :confused:

    Code:
    362.712875|BEAMNG| {
    362.712923|BEAMNG|   gamepad0 = {
    362.712971|BEAMNG|     features = "18 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), button12 (button), rzaxis (axis), zaxis (axis), yaxis (axis), xaxis (axis)",
    362.713030|BEAMNG|     filename_a = "scripts/client/inputmaps/310d0e8f000000000000504944564944.inputmap.cs",
    362.713079|BEAMNG|     filename_b = "scripts/client/inputmaps/bdagp1.inputmap.cs",
    362.713125|BEAMNG|     guid = "{310D0E8F-0000-0000-0000-504944564944}",
    362.713168|BEAMNG|     product_id = "310d",
    362.713217|BEAMNG|     product_name = "BDA GP1",
    362.713280|BEAMNG|     vendor_id = "e8f"
    362.713340|BEAMNG|   },
     

    Attached Files:

  2. Incognito

    Incognito
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    246
    Try this file.
     

    Attached Files:

    #2 Incognito, Aug 4, 2013
    Last edited: Aug 5, 2013
  3. bjytech

    bjytech
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    6
    I didn't even realized I had the file name wrong haha, now it loads the inputmap file but still none of the controls I mapped work. It almost seems as if the object id's that are read out in the console aren't the actual button/axis id's that the program uses.
     
  4. Ltp0wer

    Ltp0wer
    Expand Collapse

    Joined:
    Apr 14, 2013
    Messages:
    162
    Use the K and L keys ingame to cycle to Debug Mode 10 which is the Input debug. Then in the top left, red text should appear every time you press a button displaying what button it is.

    Also, you have your rzaxis bound twice:
    moveMap.bind(%device, rzaxis, "I", $gp_deadzone, brake);
    moveMap.bind(%device, rzaxis, $gp_deadzone, accelerate);

    That isn't how the "I" works, if that's what you were thinking.
     
  5. bjytech

    bjytech
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    6
    Right so I opened up the debug mode and started pressing buttons but still no nothing is working, I don't see any errors in the console either although it does say "directInput joystick failed to enable!" maybe that is the root of my troubles?
    Code:
    37.331252| *** loading input map *** 
    37.331334|DirectInput joystick failed to enable!
    37.331422|*** keyboard0 ***
    37.331504| - Product ID: 6f1d
    37.331561| - Vendor ID: 2b61
    37.331615| - Product Name: Keyboard
    37.331671| - GUID: {6F1D2B61-D5A0-11CF-BFC7-444553540000}
    37.331978| - 127 objects: escape (key), minus (key), equals (key), backspace (key), tab (key), lbracket (key), rbracket (key), return (key), lcontrol (key), semicolon (key), apostrophe (key), tilde (key), lshift (key), backslash (key), comma (key), period (key), slash (key), rshift (key), numpadmult (key), lalt (key), space (key), capslock (key), f1 (key), f2 (key), f3 (key), f4 (key), f5 (key), f6 (key), f7 (key), f8 (key), f9 (key), f10 (key), numlock (key), scrolllock (key), numpad7 (key), numpad8 (key), numpad9 (key), numpadminus (key), numpad4 (key), numpad5 (key), numpad6 (key), numpadadd (key), numpad1 (key), numpad2 (key), numpad3 (key), numpad0 (key), numpaddecimal (key), lessthan (key), f11 (key), f12 (key), numpadenter (key), rcontrol (key), numpaddivide (key), print (key), ralt (key), pause (key), home (key), up (key), pageup (key), left (key), right (key), end (key), down (key), pagedown (key), insert (key), delete (key), win_lwindow (key), win_rwindow (key), win_apps (key), 
    37.332186|  - joystick specific mapping file not found: scripts/client/inputmaps/custom/6f1d2b61d5a011cfbfc7444553540000.inputmap.cs
    37.332310|  - joystick specific mapping file not found: scripts/client/inputmaps/custom/keyboard.inputmap.cs
    37.351828|  - trying to load mapping scripts/client/inputmaps/6f1d2b61d5a011cfbfc7444553540000.inputmap.cs
    37.352689|*** mouse0 ***
    37.352745| - Product ID: 6f1d
    37.352786| - Vendor ID: 2b60
    37.352823| - Product Name: Mouse
    37.352858| - GUID: {6F1D2B60-D5A0-11CF-BFC7-444553540000}
    37.352921| - 11 objects: xaxis (axis), yaxis (axis), zaxis (axis), button0 (button), button1 (button), button2 (button), button3 (button), button4 (button), button5 (button), button6 (button), button7 (button)
    37.353029|  - joystick specific mapping file not found: scripts/client/inputmaps/custom/6f1d2b60d5a011cfbfc7444553540000.inputmap.cs
    37.353175|  - joystick specific mapping file not found: scripts/client/inputmaps/custom/mouse.inputmap.cs
    37.353277|  - joystick specific mapping file not found: scripts/client/inputmaps/6f1d2b60d5a011cfbfc7444553540000.inputmap.cs
    37.353377|  - joystick specific mapping file not found: scripts/client/inputmaps/mouse.inputmap.cs
    37.353428|*** gamepad0 ***
    37.353466| (unbinding...)
    37.353584| - Product ID: 310d
    37.353624| - Vendor ID: e8f
    37.355765| - Product Name: BDA GP1
    37.355831| - GUID: {310D0E8F-0000-0000-0000-504944564944}
    37.355900| - 18 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), button12 (button), rzaxis (axis), zaxis (axis), yaxis (axis), xaxis (axis)
    37.356002|  - joystick specific mapping file not found: scripts/client/inputmaps/custom/310d0e8f000000000000504944564944.inputmap.cs
    37.356084|  - joystick specific mapping file not found: scripts/client/inputmaps/custom/bdagp1.inputmap.cs
    37.356221|  - trying to load mapping scripts/client/inputmaps/310d0e8f000000000000504944564944.inputmap.cs
    37.356874| *** loading input map DONE *** 
    37.361631|BEAMNG| input maps were reloaded:
    37.362131|BEAMNG| {
    37.362169|BEAMNG|   gamepad0 = {
    37.362208|BEAMNG|     features = "18 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), button12 (button), rzaxis (axis), zaxis (axis), yaxis (axis), xaxis (axis)",
    37.362244|BEAMNG|     guid = "{310D0E8F-0000-0000-0000-504944564944}",
    37.362279|BEAMNG|     loaded_fn = "scripts/client/inputmaps/310d0e8f000000000000504944564944.inputmap.cs",
    37.362314|BEAMNG|     product_id = "310d",
    37.362358|BEAMNG|     product_name = "BDA GP1",
    37.362396|BEAMNG|     vendor_id = "e8f"
    37.362431|BEAMNG|   },
    37.362465|BEAMNG|   keyboard0 = {
    37.362509|BEAMNG|     features = "127 objects: escape (key), minus (key), equals (key), backspace (key), tab (key), lbracket (key), rbracket (key), return (key), lcontrol (key), semicolon (key), apostrophe (key), tilde (key), lshift (key), backslash (key), comma (key), period (key), slash (key), rshift (key), numpadmult (key), lalt (key), space (key), capslock (key), f1 (key), f2 (key), f3 (key), f4 (key), f5 (key), f6 (key), f7 (key), f8 (key), f9 (key), f10 (key), numlock (key), scrolllock (key), numpad7 (key), numpad8 (key), numpad9 (key), numpadminus (key), numpad4 (key), numpad5 (key), numpad6 (key), numpadadd (key), numpad1 (key), numpad2 (key), numpad3 (key), numpad0 (key), numpaddecimal (key), lessthan (key), f11 (key), f12 (key), numpadenter (key), rcontrol (key), numpaddivide (key), print (key), ralt (key), pause (key), home (key), up (key), pageup (key), left (key), right (key), end (key), down (key), pagedown (key), insert (key), delete (key), win_lwindow (key), win_rwindow (key), win_apps (key), ",
    37.362546|BEAMNG|     guid = "{6F1D2B61-D5A0-11CF-BFC7-444553540000}",
    37.362585|BEAMNG|     loaded_fn = "scripts/client/inputmaps/6f1d2b61d5a011cfbfc7444553540000.inputmap.cs",
    37.362620|BEAMNG|     product_id = "6f1d",
    37.362654|BEAMNG|     product_name = "Keyboard",
    37.362689|BEAMNG|     vendor_id = "2b61"
    37.362723|BEAMNG|   },
    37.362757|BEAMNG|   mouse0 = {
    37.362792|BEAMNG|     features = "11 objects: xaxis (axis), yaxis (axis), zaxis (axis), button0 (button), button1 (button), button2 (button), button3 (button), button4 (button), button5 (button), button6 (button), button7 (button)",
    37.362828|BEAMNG|     filename_a = "scripts/client/inputmaps/6f1d2b60d5a011cfbfc7444553540000.inputmap.cs",
    37.362862|BEAMNG|     filename_b = "scripts/client/inputmaps/mouse.inputmap.cs",
    37.362897|BEAMNG|     guid = "{6F1D2B60-D5A0-11CF-BFC7-444553540000}",
    37.362931|BEAMNG|     product_id = "6f1d",
    37.362965|BEAMNG|     product_name = "Mouse",
    37.363000|BEAMNG|     vendor_id = "2b60"
    37.363034|BEAMNG|   }
    37.363068|BEAMNG| }
     
    #5 bjytech, Aug 5, 2013
    Last edited: Aug 5, 2013
  6. Ltp0wer

    Ltp0wer
    Expand Collapse

    Joined:
    Apr 14, 2013
    Messages:
    162
    Hmm. That probably is your issue because I have 3 controllers plugged in and I get no such error.
    What version of windows are you on?
    Do you have the latest driver installed for your device?
    When you go into control panel, click devices and printers, can you right click on your controller, go to game controller settings, then properties?
    If so, do your controls work? (In the game controller settings menu)

    Edit, also post the inputmap.cs that you're using for your gamepad.
     
    #6 Ltp0wer, Aug 5, 2013
    Last edited: Aug 5, 2013
  7. bjytech

    bjytech
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    6
    I'm on Windows 7 home premium 64-bit. As for drivers its using the generic microsoft drivers since there are no drivers specifically for this controller but it is PC compatible and it does work in rigs of rods and other games.
    In the game controller properties it shows all the inputs as working.
    and here is my current inputmap file.
     

    Attached Files:

  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