Results 1 to 2 of 2

Thread: mdx help

  1. #1
    Maximum Bitrate
    Join Date
    Jan 2005
    Posts
    515

    mdx help

    I am sure this has been brought up but I need some help I am in the prcess of configuring my fusion brain to read my steering wheel controls and sending the commands to varius programs however I have no idea whre to begin in configuring the software for this

    Thanks,
    yonu

  2. #2
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    HOw to hook up an input to the FB

    That thread is sort of the beginning to end with exactly what you are trying to do.

    ========================================


    Basically:

    1) Create a Fusion Brain Instnace to the Fusion Brain the steering wheel wire will be connected to
    2) Create an Analogue Input Instance
    a) Set the port to the port you will connect to wire to. (0 index based)
    b) Set auto-average to 0, or at most a value of 5 or else your presses will "linger" and trigger multiple button presses
    3) Create a Logic Node for each button you want to map by doing...
    a) Place down your analogue input module, and a number module with the lowest value recorded for that button and a little less (but not so much less it hits the upper bound of another button).
    b) Drop down a greater than or equal to module
    c) Connect the analogue input module to the top node of the greater than module, and connect the number module to the lower node of the greater than module.
    d) Place down your analogue input module (same as step a), and a number module with the highest value recorded for that button and a little more (but not so much more it hits the lower bound of another button).
    e) Drop down a less than or equal to module
    f) Connect the analogue input module to the top node of the less than module, and connect the number module to the lower node of the less than module.
    g) Drop down an AND module
    h) Connect the greater than module and the less than module to the AND module in any order (AND is not picky)
    i) Place the logic output module (big arrow) and connect to the output of the AND module to finish the complete if/then statement
    j) Click the Then/Do icon to add/edit then do statements
    k) Add a then do statement to send a key
    I) EITHER choose "send key" and then setup the target ID and class of the window you want to send to. This will seek out that window, and target a keypress to that window only.
    II) OR choose "send key to foreground" and then choose your key. This will send a key blindly to whatever application is ontop, with no control that way. If the app is not ontop and focused or does not accept global hotkeys, nothing will happen.
    l) Choose the properties, and name it so you can keep track
    m) Choose it to fire on a timer (logic timer is a good choice for this)
    n) Set a minimum delta vote time. This is the time between votes (key presses). Because you will probably be reading the ports in every 50ms or so, but that would cause some crazy keys to be send every 50ms. So set the vote time to something that works for you like 500ms, or 1000ms (1 second). You will need to play with this, and can be different for each button. Maybe Play/Pause should be higher than say Fastforward which should be shorter. All user configurable
    o) Save If/Then node
    4) Save file in MDX directory, and run MDX, and enjoy.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

Similar Threads

  1. Fusion Brain Latest Software MDX - Download Link
    By 2k1Toaster in forum FB Software
    Replies: 36
    Last Post: 05-12-2010, 07:52 PM
  2. MDX Now does Speech Recognition!
    By 2k1Toaster in forum FB Software
    Replies: 32
    Last Post: 11-26-2008, 12:59 AM
  3. How to use a configuration file created by the Configurator with MDX
    By 2k1Toaster in forum FB Documentation and Tutorials
    Replies: 15
    Last Post: 09-08-2008, 04:36 PM
  4. What can MDX do?
    By stonestatue in forum FB Software
    Replies: 3
    Last Post: 08-29-2008, 12:55 PM
  5. Quick overview of the Fusion Control Centre MDX Configurator
    By 2k1Toaster in forum FB Documentation and Tutorials
    Replies: 0
    Last Post: 06-06-2008, 05:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •