Jump to content

TARGET: Trying to bind A/A and A/G mode to BSF and BSB


Recommended Posts

Posted

As stated in the title I cannot do that on my F-18, when I check them on the event tester they are working good, with a 30 ms delay, also when I move the switch on the adjust control menu of DCS the keystrokes appear corrected. When I am playing not. They do not turn on.:mad:

 

The lines involved on that specific commands are:

MapKeyIOUMD(&Throttle, BSF, PULSE+R_ALT+'i', PULSE+'1', PULSE+R_ALT+'i', PULSE+'1', PULSE+R_ALT+'i', PULSE+'1');

MapKeyIOUMD(&Throttle, BSB, PULSE+R_SHIFT+'i', PULSE+'2', PULSE+R_SHIFT+'i', PULSE+'2', PULSE+R_SHIFT+'i', PULSE+'2');

MapKeyIOUMD(&Throttle, BSM, PULSE+R_CTL+'i', 0, PULSE+R_CTL+'i', 0, PULSE+R_CTL+'i', 0);

 

Anyone can please explain my mistake? :helpsmilie:

Posted

I guess the press duration is too short. I would try to increase it thanks to a macro (chain) :

MapKeyIO(&Throttle, BSF, CHAIN(DOWN+R_ALT, D(30), DOWN+'i', D(333),UP+'i', D(30), UP+R_ALT),

PULSE+'1');

Posted
What is not working? Does any of it work?

Post your .tmc file.

 

The "shifted" commands are working perfectly, A/A and A/G, bound to keys "1" and "2", are not.

Strange thing: associated to CMS switch left and right positions everything is working great....

I am going to try the Ant0ine hint now. I hope it working.

Posted (edited)
The "shifted" commands are working perfectly, A/A and A/G, bound to keys "1" and "2", are not.

Strange thing: associated to CMS switch left and right positions everything is working great....

I am going to try the Ant0ine hint now. I hope it working.

 

Uhm my script increase the press duration on the shifted event. So you'll want to apply the same things to the non shifted event.

 

So something like this :

DOWN+'1', D(333),UP+'1'

 

Full line should be :

MapKeyIO(&Throttle, BSF, CHAIN(DOWN+R_ALT, D(30), DOWN+'i', D(333),UP+'i', D(30), UP+R_ALT),
CHAIN(DOWN+'1', D(333),UP+'1'));

 

Note, some of the front button like the one on the UFC panel require quite a "long" press to activate. A very short mouse clic won't work in my case. I imagine you encounter the same thing on the A/A and A/G button. I don't know, maybe that is a safety IRL?

Edited by Ant0ine
Posted

Note, some of the front button like the one on the UFC panel require quite a "long" press to activate. A very short mouse clic won't work in my case. I imagine you encounter the same thing on the A/A and A/G button. I don't know, maybe that is a safety IRL?

 

Thanks Ant0ine, it was like you said. I just increased the PULSE and DELAY time: SetKBRate(50, 60) instead of (30,33) as default.

Now it works properly. :thumbup:

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...