Jump to content

Archived

This topic is now archived and is closed to further replies.

Recommended Posts

Hello everyone,

 

I'm not sure where this topic goes, so I put it here.  I have HidMacros which I use to map a keyboard to fsuipc mouse macros.  Everything works great, when I push a button, the switch moves back and forth.  What I want to do now is disassemble the keyboard and connect toggle switches instead of keys to the circuit board, in hopes of building a full overhead panel.  I use the PMDG 737NGX (fsx).  However, to set a toggle switch, I have to deal with the always on (key always pushed down) or not on (key released)  For the code I have now, if I hold down the key, simulating a toggle switch in the on position, the switch always moves back and forth, as a result of the code I have.

 

HIDMacros.SetFSUIPCString &H0D70,40, "PMDG737:aaab"

 

Thats it.  (the aaab) was a name I used to test the function and is assigned to equip cooling through FSUIPC.  I will set more comprehensive names later.

 

How can I adjust the script in order to use a toggle switch?

 

Thanks very much in advance,

1251452


Also, if anyone knows a way to interface the cockpit annunciation lights to a home cockpit, I would love to know.


1251452-Matthew Tan

Share this post


Link to post
Share on other sites

Not easier to use a Leo Bodnar card?


Robin


"Onward & Upward" ...
To the Stars, & Beyond... 

Share this post


Link to post
Share on other sites

I'd like to keep cost down.  To purchase another interface card, only to have to program the thing like a keyboard interface card (which I already have, so is free), would be IMHO, a pointless expense.  Thanks for the idea however.  Anything pertaining to programming?

 

1251452


1251452-Matthew Tan

Share this post


Link to post
Share on other sites

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    33%
    $8,485.00 of $25,000.00 Donate Now
×
×
  • Create New...