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.

Problems with adding my steering wheel

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Quad_Plex, Aug 5, 2013.

  1. Quad_Plex

    Quad_Plex
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    21
    Hey,
    I recently tried to add my "Saitek 4-in-1" Steering Wheel to BeamNG Drive, but there seems to be a problem.
    I opened the torque3d.log file, to search for my steering wheel, as said in the wiki. I found this:

    3.528688| - Product ID: a20
    3.528825| - Vendor ID: 5b8
    3.528957| - Product Name: Steering Wheel
    3.529084| - GUID: {0A2005B8-0000-0000-0000-504944564944}
    3.529295| - 15 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), xaxis (axis), yaxis (axis)

    the problem is: Unlike in the example given on the wiki, the "axes" entry is missing, which is why I don't know what to put in there.
    If anyone here cold help me out, or even complete the inputconfig file for me, I'd be very grateful.

    Thanks in Advantage,
    Quad_Plex
     
  2. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    You mean this?: "xaxis (axis), yaxis (axis)" :p it's at the end
     
  3. Kryotex

    Kryotex
    Expand Collapse

    Joined:
    Oct 16, 2012
    Messages:
    257
    Gabe sorry for distracting but, is it even possible to add mouse steering, i tried apply axles to keyboard inputmap but it works shitty, maybe i should use custom device?
     
  4. Quad_Plex

    Quad_Plex
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    21
    haha, thanks gabester, but that's not what I meant :D

    in the wiki example for the g25 steering wheel it says:
    "// axes: 5^X^S^V^Y^S"

    now I neither have any idea what exactly that means, nor how to make it for my steering wheel ^^
     
  5. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    Well, in the inputmap you can map things to xaxis and yaxis (which exist on your wheel):

    moveMap.bind(%device, xaxis, brake);
    moveMap.bind(%device, yaxis, accelerate);
     
  6. Quad_Plex

    Quad_Plex
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    21
    so i don't even need that axes entry inside the inputconfig? I can just leave it blank, edit the other keys and everything's gonna work out fine?
     
  7. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    If it has // before it it's a comment, which means it doesn't do anything (the game doesn't read it). It's just there for information for someone reading the file.
     
  8. Quad_Plex

    Quad_Plex
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    21
    I know that, but the wiki told me to put that axes entry in, if that's completely unnecessary, why would you have to do that in the first place?

    well, thanks for your help gabe, gonna try it without the axis entry, who knows, I may even get it to work :p
     
  9. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    I personally didn't write that wiki entry, so I can't vouch for it, but if it's a comment, then it's probably not necessary for it to function ;)
     
  10. merkaloid

    merkaloid
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    5
    How do you fix the "Unbinding failed" error?
     
  11. Quad_Plex

    Quad_Plex
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    21
    alright, sorry to bother you :)P) but I still have 2 problems:
    1. My steering wheel has arrow buttons, which seem to not have been recognized. Why is that?
    2. I don't know how to make the game use my steering wheel and my pedals correctly, because I don't know how to put them in the file. The problem is, that my pedals go like this:
    Left pedal goes from y=0 to y=-1 / right pedal goes from y=0 to y=1

    and my steering wheel goes the same:
    Turned left it goes x=0 to x=-1 and turned right it goes from x=0 to x=1

    How do I tell the game to use y=0 as nothing happening, y=-x as to brake, and y=+x to accelerate? The same with the wheel

    Again, sorry to bother you so much :3
     
  12. Quad_Plex

    Quad_Plex
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    21
    UPDATE

    UPDATE:
    Alright, I got my steering wheel to work. at least...partially. The problem is that my pedals both use the same axis. meaning:

    Right pedal changes y=0 to y=-1
    Left pedal changes y=0 to y=1

    The steering via the wheel works, but the pedals can't seem to be properly configured.
    Is there a way to let the game change "brake-in" with y=0 - y=1, and change "acceleration-in" with y=0 - y=-1?

    What I tried right now was this:

    moveMap.bind(%device, yaxis,"R", brake);
    moveMap.bind(%device, yaxis,"IR", accelerate);

    that unfortunately only made the "acceleration-in" stay at 0.5, the pedals then changed it up to 1 or down to 0.
    If anyone got any help on this problem, please don't refrain from posting!

    Thanks to kirbyguy22 for helping me out with this already.
     
    #12 Quad_Plex, Aug 13, 2013
    Last edited: Aug 13, 2013
  13. Quad_Plex

    Quad_Plex
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    21
    UPDATE 2: FIXED

    It looks like it IS possible to add pedals using the same axis, MANY, MANY thanks to Kamil_ for giving me the solution.

    The solution looks like this:

    Code:
    function two_axis(%val) {
        if (%val > 0){accelerate(%val);}
        else{brake(-%val);}
    }
    moveMap.bind(%device, yaxis, two_axis);
    
    Thanks to everyone trying to help me, including "gabester", "kirbyguy22", "micr0man" and Special thanks go to "Kamil_".

    I'll post the inputmap soon, after I finished adding all the buttons.
     
  14. MehmetErdemErcin

    MehmetErdemErcin
    Expand Collapse

    Joined:
    Sep 21, 2013
    Messages:
    92
    Hey, i have trouble with adding my CANYON CNG-GW3
     
  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