Jump to content

Recommended Posts

Posted

Hey, someone knows if DCS recognizes the off position on 3 position switch on/off/on or I need to use a switch ON/ON/ON?

Is it possible to configure DCS to know when the switch is at OFF position?

Posted (edited)

In other words, On/on/on DPDT would make it easy. But DCS's LUA file can be changed to use the OFF state as a transition. So look at A10 Master ARM. It has ARM, SAFE, TRAIN. And you have an on/off/on SPDT switch. LUA can be told that off(SAFE) to on(ARM) has an action, and ARM(on) to SAFE(off) is another action. And off(SAFE) to on(TRAIN) is an action, as well as the reverse TRAIN(on) to SAFE(off).

 

See Hansolo's excellent post: https://forums.eagle.ru/showpost.php?p=2893725&postcount=104

Edited by hansangb

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Posted

For USB controllers that support encoder (e.g. BU0836) a ON-OFF-ON switch can be wired in two buttons positions an set as encoder in BU0836 Encoder configuration utility.

 

In this way the controller will send - for Windows/games, one button input (e.g. Bt1) if switch is toggled down, and other button input (e.g. Bt2) if switch is moved up.

 

Bt1>Bt1>Bt1

Bt2>Bt2>Bt2

 

This result convenient for certain types of sequential controls, but not all. Explained there:

 

http://www.737ng.co.uk/switch_as_encoder.pdf

Posted

Nice find, thnx

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Posted (edited)
I use target profiles for each different aircraft in order to get these switches working as intended

 

I've created my own switch panel. I'm using MMJOY2 and I have 15 switches. To save buttons for other uses I'm using only ON/ON and ON/OFF/ON switches.

Edited by Orsi
Posted (edited)

For MMjoy2 you can use SVMapper, Joy2Key...and set key press in ON and OFF state of switches (what TARGET do).

 

BTW - In MMjoy2Setup - tab "joystick buttons", you can set different "mode" for buttons (for the first 32 buttons only, above up to 120 only single press), look at this, maybe help.

 

EDIT - This:

 

Switch.jpg

Edited by Sokol1_br
  • Recently Browsing   0 members

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