Page 5 of 5 FirstFirst 12345
Results 41 to 50 of 50

Thread: HOw to hook up an input to the FB

  1. #41
    Low Bitrate bigbuffs's Avatar
    Join Date
    Nov 2007
    Posts
    109
    OK so according to one of the media monkey programmers he says that the

    Filename: "mediamonkey.exe" (for skinned), "mediamonkey (non-skinned).exe" (for Non Skinned Version)
    Main Class: TApplication

    I tried these and several other possible combinations but I still get nothing. Any other Ideas? Here is the code used

    <?xml version="1.0" encoding="utf-8" ?>
    - <FusionControlCentreConfiguration version="3.0.0.0" author="Me" date_created="Saturday, June 14, 2008 at 1:28:05 PM" last_modified="Sunday, June 22, 2008 at 4:19:35 PM">
    - <require>
    - <!-- Begin Function Instances
    -->
    - <!-- End Function Instances
    -->
    - <!-- Begin Fusion Font Instances
    -->
    - <!-- End Fusion Font Instances
    -->
    </require>
    - <general>
    - <debug status="on">
    <virtual_brain id="mainbrain" />
    </debug>
    </general>
    - <graphics>
    - <!-- Begin Global Graphic Settings
    -->
    <main_display designed_for_size="800,600" show_at_size="800,600" menubar="Sizeable" RunInSystemTray="False" MinimizeToSystemTray="True" />
    - <!-- End Global Graphic Settings
    -->
    - <!-- Begin Background Images
    -->
    <background_image style="centre" imagefilepath="content\images\background_images\gr adient_01.png" page="0" />
    - <!-- End Background Images
    -->
    - <!-- Begin Static Images
    -->
    - <!-- End Static Images
    -->
    - <!-- Begin Variable Location Images
    -->
    - <!-- End Variable Location Images
    -->
    - <!-- Begin Graph Instances
    -->
    - <!-- End Graph Instances
    -->
    - <!-- Begin Display Buttons
    -->
    - <!-- End Display Buttons
    -->
    - <!-- Begin Multi Images
    -->
    - <!-- End Display Buttons
    -->
    - <!-- Begin Text Labels
    -->
    - <!-- End Text Labels
    -->
    </graphics>
    - <io>
    - <!-- Begin Fusion Brain Instances
    -->
    <brain id="mainbrain">usb\vid_04d8&pid_000c\6&3ab92d65&0& 4</brain>
    - <!-- End Fusion Brain Instances
    -->
    - <!-- Begin Timer Setup
    -->
    <timer id="input" interval="75" />
    <timer id="output" interval="100" />
    <timer id="gui" interval="50" />
    <timer id="logic" interval="50" />
    - <!-- End Timer Setup
    -->
    - <!-- Begin Digital Output Instances
    -->
    - <!-- End Digital Output Instances
    -->
    - <!-- Begin Analogue Input Instances
    -->
    - <iochannel id="swc" port="9" brain="mainbrain" type="analogue_input">
    <options history="0" auto_average="false" />
    </iochannel>
    - <!-- End Analogue Input Instances
    -->
    </io>
    - <logic>
    - <!-- Begin Logging Setup
    -->
    <all_logging />
    - <!-- End Logging Setup
    -->
    - <!-- Begin Variable Declarations
    -->
    <all_variables />
    - <!-- End Variable Declarations
    -->
    - <!-- Begin Logic Declarations
    -->
    - <all_statements>
    - <if fire_on="logic" minimum_delta_vote_time="1000">
    - <boolean_operation type="and">
    - <parameter1>
    - <boolean_operation type="less than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>2.5</number>
    </parameter2>
    </boolean_operation>
    </parameter1>
    - <parameter2>
    - <boolean_operation type="greater than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>1.9</number>
    </parameter2>
    </boolean_operation>
    </parameter2>
    </boolean_operation>
    - <then>
    <do function="Send Key" functionTargetID="mediamonkey.exe:TApplication" vote_opinion="Z" vote_priority="High" />
    </then>
    </if>
    - <if fire_on="logic" minimum_delta_vote_time="1000">
    - <boolean_operation type="and">
    - <parameter1>
    - <boolean_operation type="less than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>1.9</number>
    </parameter2>
    </boolean_operation>
    </parameter1>
    - <parameter2>
    - <boolean_operation type="greater than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>1.2</number>
    </parameter2>
    </boolean_operation>
    </parameter2>
    </boolean_operation>
    - <then>
    <do function="Send Key" functionTargetID="mediamonkey:TApplication" vote_opinion="S" vote_priority="High" />
    </then>
    </if>
    - <if fire_on="logic" minimum_delta_vote_time="1000">
    - <boolean_operation type="and">
    - <parameter1>
    - <boolean_operation type="greater than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>0.25</number>
    </parameter2>
    </boolean_operation>
    </parameter1>
    - <parameter2>
    - <boolean_operation type="less than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>1.2</number>
    </parameter2>
    </boolean_operation>
    </parameter2>
    </boolean_operation>
    - <then>
    <do function="Send Key" functionTargetID="mediamonkey:" vote_opinion="C" vote_priority="High" />
    </then>
    </if>
    - <if fire_on="logic" minimum_delta_vote_time="1000">
    - <boolean_operation type="and">
    - <parameter1>
    - <boolean_operation type="less than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>3.3</number>
    </parameter2>
    </boolean_operation>
    </parameter1>
    - <parameter2>
    - <boolean_operation type="greater than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>2.5</number>
    </parameter2>
    </boolean_operation>
    </parameter2>
    </boolean_operation>
    - <then>
    <do function="Send Key" functionTargetID="mediamonkey (non-skinned).exe:TApplication" vote_opinion="B" vote_priority="High" />
    </then>
    </if>
    - <if fire_on="logic" minimum_delta_vote_time="1000">
    - <boolean_operation type="and">
    - <parameter1>
    - <boolean_operation type="less than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>5</number>
    </parameter2>
    </boolean_operation>
    </parameter1>
    - <parameter2>
    - <boolean_operation type="greater than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>4.3</number>
    </parameter2>
    </boolean_operation>
    </parameter2>
    </boolean_operation>
    - <then>
    <do function="Send Key" functionTargetID="mediamonkey (non-skinned).exe:" vote_opinion="NUM8" vote_priority="High" />
    </then>
    </if>
    - <if fire_on="logic" minimum_delta_vote_time="1000">
    - <boolean_operation type="and">
    - <parameter1>
    - <boolean_operation type="less than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>4.3</number>
    </parameter2>
    </boolean_operation>
    </parameter1>
    - <parameter2>
    - <boolean_operation type="greater than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>3.9</number>
    </parameter2>
    </boolean_operation>
    </parameter2>
    </boolean_operation>
    - <then>
    <do function="Send Key" functionTargetID="MediaMonkey:TApplication" vote_opinion="NUM2" vote_priority="High" />
    </then>
    </if>
    - <if fire_on="logic" minimum_delta_vote_time="1000">
    - <boolean_operation type="and">
    - <parameter1>
    - <boolean_operation type="less than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>3.9</number>
    </parameter2>
    </boolean_operation>
    </parameter1>
    - <parameter2>
    - <boolean_operation type="greater than">
    - <parameter1>
    <analogue id="swc" time="0" />
    </parameter1>
    - <parameter2>
    <number>3.4</number>
    </parameter2>
    </boolean_operation>
    </parameter2>
    </boolean_operation>
    - <then>
    <do function="Send Key" functionTargetID="MediaMonkey.exe:TApplication" vote_opinion="C" vote_priority="High" />
    </then>
    </if>
    </all_statements>
    - <!-- End Logic Declarations
    -->
    </logic>
    </FusionControlCentreConfiguration>

    HELP ME!
    [||||||----] - 60% Complete

  2. #42
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Try ":TApplication"

    I will see if I can make something temporary for you... Will this program always be "ontop"?
    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

  3. #43
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    http://www.fusioncontrolcentre.com/T...ound%20Key.rar

    Download that and unrar the exe. Replace the current exe in the installation folder. Change your voting commands from "send key" to "send key to foreground"

    This will just blindly press a key. The key field (vote opinion) should be a single letter, try capitol letters first. So if the FCC window is in the foreground it will send it to FCC. If your other program is in the foreground and focused, then that is where it will go. If this doesnt do it, then the error isnt with FCC.

    Also you will need the .NET 3.5 Framework from now on
    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

  4. #44
    Low Bitrate bigbuffs's Avatar
    Join Date
    Nov 2007
    Posts
    109
    I tried TApllication but that didn't work. I'll give your stuff a try and see what happens. Do I just leave the taget blank then so it should look like this right

    <do function="Send Key To Foreground" functionTargetID="" vote_opinion="C" vote_priority="High" />
    [||||||----] - 60% Complete

  5. #45
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    No you do need something in the targetID, but it wont be used. just put in "filler" or something.
    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

  6. #46
    Low Bitrate bigbuffs's Avatar
    Join Date
    Nov 2007
    Posts
    109
    Looks like like it's working. This is actually how I wanted it to work because now I can use the SWC to navigate through the desktop and stuff like that. Is there a reason that you left out certain keys in the program such as "enter"?
    [||||||----] - 60% Complete

  7. #47
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by bigbuffs View Post
    Looks like like it's working. This is actually how I wanted it to work because now I can use the SWC to navigate through the desktop and stuff like that. Is there a reason that you left out certain keys in the program such as "enter"?
    Only keys purposely left out are ALT/SHIFT/CTRL sequences as I cant get them to work right at all.

    I just didnt think enter was a key one would use as a hotkey, but I can put it in if you want it.

    So just confirming, it works right? Happy happy joy joy then!
    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

  8. #48
    Low Bitrate bigbuffs's Avatar
    Join Date
    Nov 2007
    Posts
    109
    yes it works thank god. Now if I want to have it set up to control RR would I just send the keys to winamp or does it have to go to RR.
    [||||||----] - 60% Complete

  9. #49
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    You can do either. It is best to send to winamp, and winamp support is built in. Just put the targetID as "winamp" and the program will do the rest.

    If you want to send it to RoadRunner, put in its title. I am not 100% sure with RR itself but I think the title is just "RoadRunner"... Maybe it has a space, I have not checked as I send to winamp directly.
    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

  10. #50
    Low Bitrate bigbuffs's Avatar
    Join Date
    Nov 2007
    Posts
    109
    well I tried sending it to winamp and it works when just winamp is running but if I have RR running then I get no response.
    [||||||----] - 60% Complete

Page 5 of 5 FirstFirst 12345

Similar Threads

  1. Pioneer AUX input problem
    By grunar in forum General Hardware Discussion
    Replies: 9
    Last Post: 12-02-2008, 03:43 AM
  2. Replies: 10
    Last Post: 06-07-2006, 10:13 AM
  3. Problems with XM input thru any front end
    By CyberLogic in forum Software & Software Development
    Replies: 10
    Last Post: 05-07-2006, 02:49 PM
  4. 8" touchscreen Lcd input question?
    By kitt350 in forum LCD/Display
    Replies: 0
    Last Post: 04-02-2006, 04:10 PM
  5. can I use an amplifier for rca input??
    By sheriff in forum General Hardware Discussion
    Replies: 1
    Last Post: 03-23-2001, 09:03 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
  •