Open up "FusionConfiguration.xml". You can open it in almost any program. Notepad will work, but you wont get any of the cool XML formatting and error checking options. If you miss a quote mark ( " ) the entire XML will error out. Miss required whitespace, the whole XML will error out. Miss an opening or closing tag symbol (> or <) and the whole XML file will error out.
So I suggest you use a proper XML editing program unless you know what you are doing.
I think even Office products open xml files now, and there are a ton of programs free to downoad that will work too.
Basically setup an analogue input in the`"io" section. Then a simple "if greater than x and less than y then do z" is like this:
obviously you have to replace X, Y, and then the WINDOWTITLE and KEYTOSEND with actual values. If you are using Winamp/RoadRunner, then just put "winamp" in for the window title and it will automatically fill that in. Otherwise, you will need the window title and/or class name of the program. The syntax is "TITLE::CLASS" but if there is a subtitle and subclass, then it is "TITLE::CLASS::SUBTITLE::SUBCLASS".Code:<if fire_on="logic"> <parameter1> <if> <parameter1> <analogue id="Steering Wheel Buttons" time="0"></analogue> </parameter1> <test check="greater than or equal to"></test> <parameter2> <number>X</number> </parameter2> </if> </parameter1> <test check="AND"></test> <parameter2> <if> <parameter1> <analogue id="Steering Wheel Buttons" time="0"></analogue> </parameter1> <test check="less than or equal to"></test> <parameter2> <number>Y</number> </parameter2> </if> </parameter2> <then> <do function="send key" functionTargetID="WINDOWTITLE" vote_opinion="KEYTOSEND" vote_priority="medium"></do> </then> </if>



LinkBack URL
About LinkBacks
Reply With Quote




Bookmarks