Jump to content

Recommended Posts

Posted

Hey guys, I've got MMJoy2 working, love it, I was wondering if there was a way that I could simulate a 3 position switch (SP3T) with a 2 position switch (SPDT). I think this would be done by telling the computer if button 1 and button 2 are not pressed then press button 3. A virtual switch pretty much. I want to do this for the A-10's autopilot switch. Right now I have it running on a rotary switch. But I just don't like that as much as a nice toggle switch.

Light the tires kick the fires!

 

[sIGPIC][/sIGPIC]

Posted (edited)

Using keymapper with "mapped key on press" and "mapped key on release" (SVMapper, Joy2Key, Xpadder, MacbMapper...) and wiring the switch in this way with diodes, you get a "ON-ON-ON" switch using a 2 position SPDT.

 

On_On_On_2.jpg

 

A "hardware" only solution I dont know... MMjoy2 has more hardware options for buttons behavior (mode) than other controller boards, but not at this extend:

 

MMjoy2_buttons.jpgimage hosting 30 mb

 

There's a topic about "on-on-on" switch there, but the search don't see on-on-on...

Edited by Sokol1_br
Posted (edited)

This is exactly what I was looking for, thanks a million! I actually bought joy to key earlier so that I could use my throttle for various web design functions.

Edited by Braeden108

Light the tires kick the fires!

 

[sIGPIC][/sIGPIC]

Posted

So uhhh yeah, I wandered around in JoytoKey for a good 20 minutes. Couldn't find the button on release option. Where is it?

Light the tires kick the fires!

 

[sIGPIC][/sIGPIC]

Posted (edited)

Is in Joy2Key version 6.0 - tab:

 

Keyboard2

 

[input1] when the button is released (and[input2] when it's pressed).

 

I think this should be inverted, but don't matter, just set and test.

 

BTW - The SPDT switch wiring tip is from Xaoslaab in this topic:

 

http://forums.eagle.ru/showpost.php?p=2702987&postcount=46

 

In MMJoy2 set the swtich buttons to send momentary commands.

Edited by Sokol1_br
Posted

How would you wire that up exactly. Do you have a picture of one?

 

Sent from my SM-G900W8 using Tapatalk

Know and use all the capabilities in your airplane. If you don't, sooner or later, some guy who does use them all will kick your ass.

 

— Dave 'Preacher' Pace, USN.

Posted

There are several versions available. You need a dual pole, dual throw (DPDT) switch that closes like in the picture above. The two upper images show the ON positions (switch thrown to either side) and the center OFF position like the last image.

You short pin 1&5, link pin 2 to column and pins 3,4&6 to different rows in your button matrix. This will give you 3 different 'ON' states.

 

Now, some ON-OFF-ON switches close in a different manner. I suggest you google "DPDT On-OFF-ON Switch" to find one that may suit you. Then google that switch to find the manufacturers datacards which will show you how the switch closes.

Posted

But thinking about the usage, since you will use Joy2Key you don't need wire a SPDT ON-OFF-ON with diodes in the suggested way.

 

Wire normally, as button 1 and 2.

 

In Joy2key set:

 

Swtich up (button 1) = press A, on release B

Switch down (button 2) press C, on release B

 

Middle position don't press nothing, but moving the switch from Up or Down are sending B when leave the position.

 

Can use for Autopilot, Landing Gear with neutral position, 3 position flaps...

Posted

This system of wiring could be useful for a pre programmed board like a Leo bodnar without using an external software

 

Sent from my SM-G900W8 using Tapatalk

Know and use all the capabilities in your airplane. If you don't, sooner or later, some guy who does use them all will kick your ass.

 

— Dave 'Preacher' Pace, USN.

  • Recently Browsing   0 members

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