Jump to content

DCS-BIOS: Multiple clickable actions on button press and release


Recommended Posts

Posted

So I'm working on trying to get the NS430 module to cooperate with my hardware buttons, and I've discovered that it appears that it requires separate clickable actions to be called when a button is pressed and when it is released. For example, for the COM button, we have NS430_COM_FLIP_FLOP and NS430_COM_FLIP_FLOP_STOP_ACTION. Using just the flip flop action seems to work ok for most of the buttons (as an ActionButton), but when used with the com button, it results in the frequency always being set to guard, which happens on the real device when you hold down the button. So can anyone provide an example of how to do the following

 

On physical momentary button press send NS430_COM_FLIP_FLOP with value of 1

On physical momentary button release send NS430_COM_FLIP_FLOP with value of 0 AND NS430_COM_FLIP_FLOP_STOP_ACTION with value of 1, then again with value of 0.

 

Are all these steps actually necessary? Am I overcomplicating this?

 

Thanks,

 

T

If you disapprove of this post, please feel free to give me negative rep. If you approve of this post, please feel free to give me negative rep.

  • Recently Browsing   0 members

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