Analog control filter help

Discussion in 'Technical & Support' started by Alejandro1, Aug 22, 2014.

  1. Alejandro1

    Alejandro1 Registered

    Joined:
    Aug 17, 2014
    Messages:
    75
    Likes Received:
    5
    Hi, I need to know how to add 2 or more inputs to the analog filter in the controller.json.

    Analog Control Filter":127
    "Analog Control Filter#":"0 = off, 127 = on, or add which inputs you want filtered 1=throttle, 2=brake, 4=front handbrake 8=rear handbrake, 16=steering, 32=clutch, 64=power demand",

    I don't understand the format. I want to add the throttle and the brake but not the steering.
    Should I insert "12", "1, 2", "[1, 2]"?
     
    Last edited by a moderator: Aug 22, 2014
  2. newtonpg

    newtonpg Registered

    Joined:
    Oct 5, 2010
    Messages:
    97
    Likes Received:
    0
    Im no expert but my guess for the format is just add the values you wanna be filtered.
    So ISI default 127 results from all controls filtered (1+2+4+8+16+32+64) and then throttle+brake is 1+2=3
    At least it makes sense to me.
     
  3. Alejandro1

    Alejandro1 Registered

    Joined:
    Aug 17, 2014
    Messages:
    75
    Likes Received:
    5
    Thank you.
    "Add" as in "sum"; not as in "enter".
    Im dumb. Binary.
     

Share This Page