Page 8 of 11 FirstFirst 1234567891011 LastLast
Results 71 to 80 of 103

Thread: Steering Wheel Control Help

  1. #71
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    Quote Originally Posted by greenman100 View Post
    "Not sure I have the format for title:class correct for the Window."

    probably true. experiment with sending keys to winamp.

    I'm overloaded with schoolwork, and can't look at this until monday night, but i will...

    Thanks mate. Look forward to it. I did play with winamp today. Mapped a few keys. Still couldn't get it to do anything.

    I wish i could tell if MDX is actually sending the keystroke or where the problem lies.

  2. #72
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    you could change the do action to turn on/off an output instead?

  3. #73
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    Quote Originally Posted by greenman100 View Post
    you could change the do action to turn on/off an output instead?
    Sorry you lost me. Only reason I even know the do action is because of the other thread you linked me. I dont understand how people are writing configs without knowing the syntax. Is there a break down somewhere Ive missed?

    Would debug show me if MDX is actually sending the keystroke?

  4. #74
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Using the configurator.

    i'll help more tuesday

  5. #75
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    Quote Originally Posted by greenman100 View Post
    Using the configurator.

    i'll help more tuesday
    Thanks. I'm fresh out of ideas.

  6. #76
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Take a look at the attached file.

    Specifically:

    Code:
    <do function="trigger output" functionTargetID="Blower Low" vote_opinion="on" vote_priority="medium"></do>
    trigger an output instead of keypresses, for now
    Attached Files Attached Files

  7. #77
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    My way of testing my syntax is to load the file up in The configurator. Loading this config the configurator keeps getting a Unhandled Exception and crashes.

    Anyone see the problem with the syntax? Haven't tested it it yet with the brain.

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <FusionControlCentreConfiguration version="3.0.0.0" author="Jayson" date_created="April 11, 2008 at 2:32:35 PM" last_modified="April 11, 2008 at 3:51:29 PM">
    
      <require>
        <!-- Begin Function Instances -->
        <!-- End Function Instances -->
      </require>
      
      <graphics>
        <!-- Begin Global Graphic Settings -->
            <main_display designed_for_size="200,200" show_at_size="200,200" menubar="Sizeable" RunInSystemTray="True" MinimizeToSystemTray="True"></main_display>
        <!-- End Global Graphic Settings -->
      
        <!-- Begin Background Images -->
        <!-- End Background Images -->
      
        <!-- Begin Static Images -->
        <!-- End Static Images -->
      
        <!-- Begin Display Buttons -->
        <!-- End Display Buttons -->
      
        <!-- Begin Multi Images -->
        <!-- End Display Buttons -->
      </graphics>
    
      <io>
      <!-- Begin Fusion Brain Instances -->
          <brain id="MainBrain">USB\VID_04D8&amp;PID_000C\5&amp;300B12AB&amp;0&amp;2</brain>
      <!-- End Fusion Brain Instances -->
                      
      <!-- Begin Timer Setup -->
          <timer id="logic" interval="65"></timer>
          <timer id="gui" interval="30"></timer>
          <timer id="output" interval="100"></timer>
          <timer id="input" interval="50"></timer>
      <!-- End Timer Setup -->
    
      <!-- Begin Analogue Input Instances -->  
          <iochannel id="Steering0" port="0" brain="MainBrain" type="analogue_input">
           <options history="100" auto_average="false"></options>
          </iochannel>
      <!-- End Analogue Input Instances -->
      
      <!-- Begin Digital Output Instances -->
            <iochannel id="Test" port="10" brain="MainBrain" type="digital_output">
              <defaults defaultstate="off"></defaults>
            </iochannel>
      <!-- End Digital Output Instances -->
     
      </io>
      
      
      <logic>
      <!-- Begin Logging Setup -->
          <all_logging>
          </all_logging>
      <!-- End Logging Setup -->
      
      <!-- Begin Variable Declarations -->
          <all_variables>
         </all_variables>
      <!-- End Variable Declarations -->
        
       
      <!-- Begin Logic Declarations -->
          <all_statements>
            <if fire_on="logic">
    	  <boolean_operation type="and">
    	    <parameter1>
    	      <boolean_operation type="greater than or equal or too">
    	        <parameter1>
    	          <analogue id="Steering0" time="0"></analogue>
    	        </parameter1>
    	        <parameter2>
    	          <number>0.1</number>
    	        </parameter2>
    	      </boolean_operation>
    	    </parameter1>
    	    <parameter2>
    	      <boolean_operation type="less than or equal too">
    	        <parameter1>
    		  <analogue id="Steering0" time="0"></analogue>
    		</parameter1>
    		<parameter2>
    		  <number>4.9</number>
    	        </parameter2>
    	      </boolean_operation>
    	    </parameter2>
    	  </boolean_operation>
    	  <then>
    	    <do function="trigger output" functionTargetID="Test" vote_opinion="off" vote_priority="medium"></do>
    	  </then>
            </if>
        </all_statements>
        <!-- End Logic Declarations -->
        
      </logic>
    </FusionControlCentreConfiguration>

  8. #78
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    Tested with the brain. MDX will load with the config but doesn't function. Configurator on the other hand refuses to load the config.

    The problem is somewhere in the Logic Declarations. At least thats where the configurator has the issues.

    I've read over it 1000 times. The syntax looks good too me. Really not sure what I'm missing.

  9. #79
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Code:
    <boolean_operation type="greater than or equal or too">
    is not the same as

    Code:
    <boolean_operation type="greater than or equal to">
    for starters

  10. #80
    Variable Bitrate
    Join Date
    Aug 2005
    Posts
    422
    Quote Originally Posted by greenman100 View Post
    Code:
    <boolean_operation type="greater than or equal or too">
    is not the same as

    Code:
    <boolean_operation type="greater than or equal to">
    for starters
    Man how did I miss that. Got a little "or" happy..

    Thanks. Will try when i get home

Similar Threads

  1. Steering Wheel Remote Control
    By drdave in forum Car Audio
    Replies: 0
    Last Post: 02-21-2008, 10:48 PM
  2. Audy A8 Steering Wheel Control to PC
    By k11SiC6 in forum Input Devices
    Replies: 2
    Last Post: 03-02-2007, 04:54 PM
  3. Steering wheel control and durability
    By bimmerpc in forum General Hardware Discussion
    Replies: 4
    Last Post: 11-01-2005, 02:01 PM
  4. Steering Wheel Control
    By Micv in forum Hardware Development
    Replies: 3
    Last Post: 07-13-2005, 11:45 AM
  5. Using steering wheel controls to control mini mac?
    By brandondente in forum MacCar
    Replies: 7
    Last Post: 05-12-2005, 09:50 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
  •